|
@@ -441,7 +441,9 @@ class _SubscriptionPageState extends State<SubscriptionPage> {
|
|
FlatButton(
|
|
FlatButton(
|
|
child: Text("ok"),
|
|
child: Text("ok"),
|
|
onPressed: () {
|
|
onPressed: () {
|
|
- Bus.instance.fire(SubscriptionPurchasedEvent());
|
|
|
|
|
|
+ if (widget.isOnboarding) {
|
|
|
|
+ Bus.instance.fire(SubscriptionPurchasedEvent());
|
|
|
|
+ }
|
|
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
Navigator.of(context).popUntil((route) => route.isFirst);
|
|
},
|
|
},
|
|
),
|
|
),
|