Skip to content

Commit 40ad99a

Browse files
committed
fix: Rollback Android back button
1 parent 9fa718b commit 40ad99a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

my_solved/lib/views/main_tab_view.dart

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ class MainTabView extends StatelessWidget {
2929
],
3030
),
3131
tabBuilder: (BuildContext context, int index) {
32-
return WillPopScope(
33-
onWillPop: () async => false,
34-
child: CupertinoTabView(
35-
builder: (BuildContext context) {
36-
return options[index];
37-
},
38-
));
32+
return CupertinoTabView(
33+
builder: (BuildContext context) {
34+
return options[index];
35+
},
36+
);
3937
},
4038
);
4139
}

0 commit comments

Comments
 (0)