Browse Source

Change styling of dialog buttons

Vishnu Mohandas 4 years ago
parent
commit
a0b3ff20f2
1 changed files with 8 additions and 2 deletions
  1. 8 2
      lib/ui/subscription_page.dart

+ 8 - 2
lib/ui/subscription_page.dart

@@ -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());