Skip to content

Commit

Permalink
redirect logout
Browse files Browse the repository at this point in the history
  • Loading branch information
ardi27 committed Feb 27, 2021
1 parent bcbc6db commit 0b3ab0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/screen/truth_or_dare/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ class _BuildProfileBodyState extends State<BuildProfileBody> {
title: Text("Logout"),
onTap: () {
BlocProvider.of<AuthBloc>(context).add(UserLoggedOut());
Navigator.pushReplacementNamed(
context, homeRoute);
},
),
],
Expand Down

0 comments on commit 0b3ab0e

Please sign in to comment.