Change styling of dialog buttons

This commit is contained in:
Vishnu Mohandas 2021-03-21 17:41:09 +05:30
parent 5918d996a4
commit a0b3ff20f2

View file

@ -438,13 +438,19 @@ class _SubscriptionPageState extends State<SubscriptionPage> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
TextButton(
child: Text("review plans"),
child: Text(
"review plans",
style: TextStyle(color: Theme.of(context).buttonColor),
),
onPressed: () {
Navigator.of(context, rootNavigator: true).pop('dialog');
},
),
TextButton(
child: Text("ok"),
child: Text(
"ok",
style: TextStyle(color: Colors.white),
),
onPressed: () {
if (widget.isOnboarding) {
Bus.instance.fire(SubscriptionPurchasedEvent());