Re-activate showing a snackbar after saving a log in the gym mode

This commit is contained in:
Roland Geider
2021-04-10 12:26:01 +02:00
parent 78c70c7918
commit a24630424e

View File

@@ -367,7 +367,6 @@ class _LogPageState extends State<LogPage> {
// Save the entry on the server
try {
await Provider.of<WorkoutPlans>(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<LogPage> {
),
),
);
*/
widget._controller.nextPage(
duration: Duration(milliseconds: 200),
curve: Curves.bounceIn,