Remove Filters changes modals

This commit is contained in:
fhkhd
2024-01-11 18:25:13 +03:30
parent 85eb90a850
commit 4cb3a921f1
7 changed files with 124 additions and 115 deletions
@@ -38,22 +38,23 @@ class MyItemFilterSaveButton extends StatelessWidget {
sizeCTRL.text,
specificCTRL.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(push);
});
// 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(push);
// });
Navigator.of(context).popAndPushNamed(push);
},
child: Container(
padding: EdgeInsets.symmetric(