mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-27 06:18:50 +01:00
Merge pull request #3557 from cake-tech/claude/light-mode-checkbox-background
This commit is contained in:
@@ -20,7 +20,9 @@ class NewSimpleCheckbox extends StatelessWidget {
|
|||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: value
|
color: value
|
||||||
? Theme.of(context).colorScheme.primary
|
? Theme.of(context).colorScheme.primary
|
||||||
: Theme.of(context).colorScheme.surfaceContainerHighest,
|
: Theme.of(context).brightness == Brightness.light
|
||||||
|
? Theme.of(context).colorScheme.onSurfaceVariant.withAlpha(80)
|
||||||
|
: Theme.of(context).colorScheme.surfaceContainerHighest,
|
||||||
borderRadius: const BorderRadius.all(Radius.circular(50)),
|
borderRadius: const BorderRadius.all(Radius.circular(50)),
|
||||||
),
|
),
|
||||||
height: 24,
|
height: 24,
|
||||||
|
|||||||
Reference in New Issue
Block a user