From a24630424ed5a89aef185033fbed43abab3df774 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Sat, 10 Apr 2021 12:26:01 +0200 Subject: [PATCH] Re-activate showing a snackbar after saving a log in the gym mode --- lib/widgets/workouts/gym_mode.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/widgets/workouts/gym_mode.dart b/lib/widgets/workouts/gym_mode.dart index 63283c17d..c4dba2c6d 100644 --- a/lib/widgets/workouts/gym_mode.dart +++ b/lib/widgets/workouts/gym_mode.dart @@ -367,7 +367,6 @@ class _LogPageState extends State { // Save the entry on the server try { await Provider.of(context, listen: false).addLog(widget._log); - /* ScaffoldMessenger.of(context).showSnackBar( SnackBar( duration: Duration(seconds: 2), // default is 4 @@ -377,7 +376,6 @@ class _LogPageState extends State { ), ), ); - */ widget._controller.nextPage( duration: Duration(milliseconds: 200), curve: Curves.bounceIn,