Revert "Refactor repeater status screen and settings screen; add GPS toggle"

This reverts commit e21f3106d0.
This commit is contained in:
zjs81
2026-05-08 13:24:22 -07:00
parent e21f3106d0
commit a92e57bb64
45 changed files with 1410 additions and 13194 deletions
-12
View File
@@ -305,18 +305,6 @@ class _SettingsScreenState extends State<SettingsScreen> {
trailing: const Icon(Icons.chevron_right),
onTap: () => _editLocation(context, connector),
),
if (connector.currentCustomVars?.containsKey('gps') ?? false) ...[
const Divider(height: 1),
SwitchListTile(
secondary: const Icon(Icons.gps_fixed),
title: Text(l10n.settings_locationGPSEnable),
subtitle: Text(l10n.settings_locationGPSEnableSubtitle),
value: connector.currentCustomVars?['gps'] == '1',
onChanged: (value) async {
await connector.setCustomVar(value ? 'gps:1' : 'gps:0');
},
),
],
const Divider(height: 1),
ListTile(
leading: const Icon(Icons.group_add_outlined),