Ver código fonte

Fix color for leave family dialog in light theme

Neeraj Gupta 3 anos atrás
pai
commit
063c9ba5f4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/ui/payment/child_subscription_widget.dart

+ 1 - 1
lib/ui/payment/child_subscription_widget.dart

@@ -127,7 +127,7 @@ class ChildSubscriptionWidget extends StatelessWidget {
       firstAction: 'No',
       secondAction: 'Yes',
       firstActionColor: Theme.of(context).buttonColor,
-      secondActionColor: Colors.white,
+      secondActionColor: Theme.of(context).colorScheme.onSurface,
     );
     if (choice != DialogUserChoice.secondChoice) {
       return;