Skip to content

Commit

Permalink
Commented in a snackbar message
Browse files Browse the repository at this point in the history
  • Loading branch information
matanshukry committed Jun 26, 2019
1 parent edf0e3b commit c12820f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/user_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ class _UserPageState extends State<UserPage> {
bloc: _userBloc,
listener: (BuildContext context, UserState state) {
if (state is UserStateLoaded) {
// Scaffold.of(context).showSnackBar(SnackBar(
// content: Text("Loaded user ${state.info.name} successfully!"),
// ));
Scaffold.of(context).showSnackBar(SnackBar(
content: Text("Loaded user ${state.info.name} successfully!"),
));
}
},
child: BlocBuilder(
Expand Down

0 comments on commit c12820f

Please sign in to comment.