From 89c1134a85f604b96b02c2be11704d592bdf88db Mon Sep 17 00:00:00 2001 From: whysman Date: Sat, 9 Nov 2024 23:43:40 -0500 Subject: [PATCH] Moved edit button --- lib/status_page.dart | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/status_page.dart b/lib/status_page.dart index 2ec3477..914ca9f 100644 --- a/lib/status_page.dart +++ b/lib/status_page.dart @@ -108,12 +108,6 @@ class StatusPageState extends State { height: 40, ), backgroundColor: Colors.blueAccent, - actions: [ - IconButton( - icon: const Icon(Icons.edit), - onPressed: widget.toggleProfile, // Open ProfileScreen overlay - ), - ], ), body: StreamBuilder( stream: controller.stream, @@ -201,6 +195,11 @@ class StatusPageState extends State { _sendStatus(userId, userName, userLogo, 'is leaving'), child: const Text('Leaving'), ), + IconButton( + icon: const Icon(Icons.edit, color: Colors.blueAccent), + onPressed: widget.toggleProfile, + tooltip: 'Edit Profile', + ), ], ), ],