mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-12 02:48:53 +03:30
Fix loading bug in pages and some search bug
This commit is contained in:
@@ -49,7 +49,13 @@ class CycleAddSaveButton extends StatelessWidget {
|
||||
descriptionCTRL.text,
|
||||
striizerIdCTRL.text,
|
||||
);
|
||||
Navigator.of(context).pushReplacementNamed(Routes.cycleResultScreen);
|
||||
// Navigator.of(context).pushReplacementNamed(Routes.cycleResultScreen);
|
||||
Navigator.of(context).pop();
|
||||
var cycles =
|
||||
await Provider.of<CyclesProvider>(context, listen: false);
|
||||
cycles.setLoading();
|
||||
cycles.resetPageNumber();
|
||||
cycles.getCycleResults().then((value) => {cycles.resetLoading()});
|
||||
Fluttertoast.showToast(
|
||||
msg: "Cycle added.",
|
||||
toastLength: Toast.LENGTH_SHORT,
|
||||
|
||||
Reference in New Issue
Block a user