Skip to content

An open-source cross-platform alternative to AirDrop

The color of the enabled button looks like disabled and the opposite of the disabled button (#673)

GitStart3e92c0cb7ecf
diff --git a/lib/pages/tabs/settings_tab.dart b/lib/pages/tabs/settings_tab.dart
index 98677dd4..53ced205 100644
--- a/lib/pages/tabs/settings_tab.dart
+++ b/lib/pages/tabs/settings_tab.dart
@@ -597,6 +597,10 @@ class _BooleanEntry extends StatelessWidget {
child: Switch(
value: value,
onChanged: onChanged,
+ activeTrackColor: theme.colorScheme.primary,
+ activeColor: theme.colorScheme.onPrimary,
+ inactiveThumbColor: theme.colorScheme.outline,
+ inactiveTrackColor: theme.colorScheme.surface,
),
),
),