Need fix error on purchase success showung.
This commit is contained in:
@@ -122,9 +122,10 @@ class PurchaseSuccessScreenState<T> extends BaseState<PurchaseSuccessScreen> {
|
||||
return new EdgeInsets.only(bottom: bottom, left: side, right: side);
|
||||
}
|
||||
|
||||
getScanButton() {
|
||||
getScanButton() async {
|
||||
String title = StringsLocalization.scan();
|
||||
return buildRaisedButton(title, () => Navigator.of(context).pop());
|
||||
String token = await helper.getToken();
|
||||
return buildRaisedButton(title, () => Navigator.of(context).pop(token));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user