mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-02 18:19:25 +01:00
Re-activate showing a snackbar after saving a log in the gym mode
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user