mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 09:47:35 +08:00
OnBoardingScreen: Do not quit when pressing back
We're no longer the first screen to be shown.
This commit is contained in:
@ -211,7 +211,7 @@ class OnBoardingScreenState extends State<OnBoardingScreen> {
|
|||||||
curve: Curves.easeIn,
|
curve: Curves.easeIn,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
SystemChannels.platform.invokeMethod('SystemNavigator.pop');
|
Navigator.pop(context);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: scaffold,
|
child: scaffold,
|
||||||
|
Reference in New Issue
Block a user