An open-source cross-platform alternative to AirDrop
feat: using default theme for switches
Tien Do Namc7c81bcb6542
diff --git a/lib/pages/tabs/settings_tab.dart b/lib/pages/tabs/settings_tab.dartindex a49a5df4..98677dd4 100644--- a/lib/pages/tabs/settings_tab.dart+++ b/lib/pages/tabs/settings_tab.dart@@ -597,12 +597,6 @@ class _BooleanEntry extends StatelessWidget {child: Switch(value: value,onChanged: onChanged,- activeTrackColor: Colors.white,- activeColor:- theme.brightness == Brightness.light ? theme.colorScheme.onSurface.withOpacity(0.8) : theme.inputDecorationTheme.fillColor,- trackOutlineColor: const MaterialStatePropertyAll<Color?>(Colors.grey),- inactiveThumbColor: theme.colorScheme.onSurface.withOpacity(0.8),- inactiveTrackColor: theme.inputDecorationTheme.fillColor,),),),