Change styling of dialog buttons
This commit is contained in:
parent
5918d996a4
commit
a0b3ff20f2
|
@ -438,13 +438,19 @@ class _SubscriptionPageState extends State<SubscriptionPage> {
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
TextButton(
|
TextButton(
|
||||||
child: Text("review plans"),
|
child: Text(
|
||||||
|
"review plans",
|
||||||
|
style: TextStyle(color: Theme.of(context).buttonColor),
|
||||||
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.of(context, rootNavigator: true).pop('dialog');
|
Navigator.of(context, rootNavigator: true).pop('dialog');
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
TextButton(
|
TextButton(
|
||||||
child: Text("ok"),
|
child: Text(
|
||||||
|
"ok",
|
||||||
|
style: TextStyle(color: Colors.white),
|
||||||
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
if (widget.isOnboarding) {
|
if (widget.isOnboarding) {
|
||||||
Bus.instance.fire(SubscriptionPurchasedEvent());
|
Bus.instance.fire(SubscriptionPurchasedEvent());
|
||||||
|
|
Loading…
Reference in a new issue