refactor(#273): move Observer above App Settings

Groups the list by kind: configuration (Node, Radio, Radio Stats, Privacy,
Contacts, Blocked, Messages, Observer, App Settings), then readout (Device
Info), then rarely-used Actions, then Debug.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pull/419/head
Strycher 2 months ago
parent 6c2a856e2d
commit f64c27ef6f

@ -129,6 +129,13 @@ class _SettingsScreenState extends State<SettingsScreen> {
subtitle: l10n.settings_messageSettingsSubtitle,
builder: _messageSettingsPane,
),
if (showObserver)
SettingsCategory(
icon: Icons.cloud_outlined,
title: 'Observer',
subtitle: 'WiFi · MQTT brokers · display',
builder: _observerPane,
),
SettingsCategory(
icon: Icons.tune,
title: l10n.settings_appSettings,
@ -140,13 +147,6 @@ class _SettingsScreenState extends State<SettingsScreen> {
title: l10n.settings_deviceInfo,
builder: _devicePane,
),
if (showObserver)
SettingsCategory(
icon: Icons.cloud_outlined,
title: 'Observer',
subtitle: 'WiFi · MQTT brokers · display',
builder: _observerPane,
),
SettingsCategory(
icon: Icons.bolt_outlined,
title: l10n.settings_actions,

Loading…
Cancel
Save

Powered by TurnKey Linux.