mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 03:18:57 +03:30
Remove Filters changes modals
This commit is contained in:
@@ -45,22 +45,23 @@ class CycleFilterSaveButton extends StatelessWidget {
|
||||
hospitalID,
|
||||
dateCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then((_) {
|
||||
Navigator.of(context).popAndPushNamed(Routes.cycleResultScreen);
|
||||
});
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then((_) {
|
||||
// Navigator.of(context).popAndPushNamed(Routes.cycleResultScreen);
|
||||
// });
|
||||
Navigator.of(context).popAndPushNamed(Routes.cycleResultScreen);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
Reference in New Issue
Block a user