Fix color for leave family dialog in light theme

This commit is contained in:
Neeraj Gupta 2022-06-12 21:39:24 +05:30
parent af71a78172
commit 063c9ba5f4
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

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