diff --git a/lib/presentation/profile.dart b/lib/presentation/profile.dart index deb0ceb..aab892e 100644 --- a/lib/presentation/profile.dart +++ b/lib/presentation/profile.dart @@ -56,7 +56,7 @@ class _ProfileState extends State { }, icon: const Icon(Icons.edit), ), - if(widget.uid != loggedInUser!.uid) + if(widget.uid == loggedInUser!.uid) IconButton( onPressed: () { FirebaseAuth.instance.signOut();