Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MananGandhi1810 committed Dec 17, 2023
1 parent be97f2e commit 3adf583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/presentation/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class _ProfileState extends State<Profile> {
},
icon: const Icon(Icons.edit),
),
if(widget.uid != loggedInUser!.uid)
if(widget.uid == loggedInUser!.uid)
IconButton(
onPressed: () {
FirebaseAuth.instance.signOut();
Expand Down

0 comments on commit 3adf583

Please sign in to comment.