瀏覽代碼

Fix color for leave family dialog in light theme

Neeraj Gupta 3 年之前
父節點
當前提交
063c9ba5f4
共有 1 個文件被更改,包括 1 次插入1 次删除
  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',
       firstAction: 'No',
       secondAction: 'Yes',
       secondAction: 'Yes',
       firstActionColor: Theme.of(context).buttonColor,
       firstActionColor: Theme.of(context).buttonColor,
-      secondActionColor: Colors.white,
+      secondActionColor: Theme.of(context).colorScheme.onSurface,
     );
     );
     if (choice != DialogUserChoice.secondChoice) {
     if (choice != DialogUserChoice.secondChoice) {
       return;
       return;