mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-12 23:18:57 +03:30
Fix loading bug in pages and some search bug
This commit is contained in:
@@ -49,7 +49,13 @@ class _FormPageState extends State<FormPage> {
|
||||
_isLoadingButton = false;
|
||||
});
|
||||
if (result == 'done') {
|
||||
Navigator.of(context).popAndPushNamed(Routes.testResultScreen);
|
||||
// Navigator.of(context).popAndPushNamed(Routes.testResultScreen);
|
||||
Navigator.of(context).pop();
|
||||
prvObject.setLoading();
|
||||
prvObject.resetPageNumber();
|
||||
prvObject
|
||||
.getTestResults()
|
||||
.then((value) => {prvObject.resetLoading()});
|
||||
Fluttertoast.showToast(
|
||||
msg: "Test added.",
|
||||
toastLength: Toast.LENGTH_SHORT,
|
||||
|
||||
Reference in New Issue
Block a user