issue 10730
This commit is contained in:
@@ -45,7 +45,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
|
||||
setState(() {
|
||||
requestAsyncData(user);
|
||||
});
|
||||
return getMainWidget();
|
||||
return new WillPopScope(onWillPop: onWillPop, child: getMainWidget());
|
||||
}
|
||||
|
||||
bool purchaseInProgress = false;
|
||||
@@ -423,4 +423,8 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
|
||||
print('kifio ' + this.loyalty);
|
||||
print('bonus ' + this.bonus);
|
||||
}
|
||||
|
||||
onWillPop() {
|
||||
return startScanner(context, app, helper);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user