mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 01:08:54 +03:30
Remove Filters changes modals
This commit is contained in:
@@ -359,25 +359,28 @@ class _TestFilterScreenState extends State<TestFilterScreen> {
|
||||
fDateCTRL.text,
|
||||
uDateCTRL.text,
|
||||
);
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
content: Text('Filters changed.'),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(ctx).pop();
|
||||
// Navigator.of(context).pop();
|
||||
},
|
||||
child: Text('Ok'),
|
||||
)
|
||||
],
|
||||
),
|
||||
).then(
|
||||
(_) =>
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
Routes.testResultScreen,
|
||||
),
|
||||
// showDialog(
|
||||
// context: context,
|
||||
// builder: (ctx) => AlertDialog(
|
||||
// content: Text('Filters changed.'),
|
||||
// actions: <Widget>[
|
||||
// TextButton(
|
||||
// onPressed: () {
|
||||
// Navigator.of(ctx).pop();
|
||||
// // Navigator.of(context).pop();
|
||||
// },
|
||||
// child: Text('Ok'),
|
||||
// )
|
||||
// ],
|
||||
// ),
|
||||
// ).then(
|
||||
// (_) =>
|
||||
// Navigator.of(context).popAndPushNamed(
|
||||
// Routes.testResultScreen,
|
||||
// ),
|
||||
// );
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
Routes.testResultScreen,
|
||||
);
|
||||
},
|
||||
child: Container(
|
||||
|
||||
Reference in New Issue
Block a user