mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Use primary color on enabled custom switch
This commit is contained in:
parent
78317223cc
commit
90ca54deeb
@ -43,7 +43,9 @@ class CustomSwitch extends StatelessWidget {
|
||||
margin: const EdgeInsets.symmetric(horizontal: 3),
|
||||
decoration: BoxDecoration(
|
||||
shape: BoxShape.circle,
|
||||
color: Colors.white,
|
||||
color: value
|
||||
? Theme.of(context).colorScheme.primaryContainer
|
||||
: Colors.white,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.black12.withOpacity(0.1),
|
||||
|
Loading…
Reference in New Issue
Block a user