mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-30 19:37:35 -05:00
feat: follow system option
This commit is contained in:
@@ -17,7 +17,7 @@ class MutationButton extends StatelessWidget {
|
||||
return CupertinoButton(
|
||||
onPressed: onPressed,
|
||||
minSize: 0,
|
||||
color: theme.palette.primary,
|
||||
color: theme.paletteOf(context).primary,
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 14,
|
||||
vertical: 5,
|
||||
@@ -27,7 +27,7 @@ class MutationButton extends StatelessWidget {
|
||||
text,
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: theme.palette.background,
|
||||
color: theme.paletteOf(context).background,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user