This commit is contained in:
Sven committed 2024-02-03 10:19:38 +01:00
1 parent 8e5462bc91
commit e7409ac26b
13 files changed
+467 -88

No files matched your search

+4 -9
View File
@@ -132,15 +132,10 @@ class _MainState extends State<Main> {
return ColoredSafeArea(
key: GlobalKey(),
child: WillPopScope(
onWillPop: () async {
if (contentStack.isNotEmpty) {
_popContentView();
return false;
} else {
return true;
}
child: PopScope(
canPop: contentStack.isNotEmpty,
onPopInvoked: (didPop) => {
_popContentView()
},
child: Scaffold(
appBar: PreferredSize(