mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Enforce theme colors on switches
This commit is contained in:
@@ -774,7 +774,7 @@ class SensorMetricSelectorItem extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
Switch.adaptive(value: visible, onChanged: onToggle),
|
||||
Switch(value: visible, onChanged: onToggle),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
|
||||
@@ -1875,7 +1875,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
),
|
||||
),
|
||||
Switch.adaptive(
|
||||
Switch(
|
||||
value: _showCurrentImagePreview,
|
||||
onChanged: (value) {
|
||||
setState(() => _showCurrentImagePreview = value);
|
||||
|
||||
Reference in New Issue
Block a user