OnBoardingScreen: Do not quit when pressing back

We're no longer the first screen to be shown.
This commit is contained in:
Vishesh Handa
2019-01-23 11:51:39 +01:00
parent 2f8dd95ee9
commit 8693545fe5

View File

@ -211,7 +211,7 @@ class OnBoardingScreenState extends State<OnBoardingScreen> {
curve: Curves.easeIn,
);
} else {
SystemChannels.platform.invokeMethod('SystemNavigator.pop');
Navigator.pop(context);
}
},
child: scaffold,