From bebeda8c743fd48751668843247e5745f33f669e Mon Sep 17 00:00:00 2001 From: Jake-B Date: Sat, 29 Mar 2025 10:16:55 -0400 Subject: [PATCH] Fix for External Notification and Serial module settings --- Meshtastic/Views/Settings/Settings.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Meshtastic/Views/Settings/Settings.swift b/Meshtastic/Views/Settings/Settings.swift index 28a69c92..51a7e587 100644 --- a/Meshtastic/Views/Settings/Settings.swift +++ b/Meshtastic/Views/Settings/Settings.swift @@ -196,8 +196,7 @@ struct Settings: View { } } - if let node = nodes.first(where: { $0.num == preferredNodeNum }), - node.metadata?.hasWifi ?? false, isModuleSupported(.extnotifConfig) { + if isModuleSupported(.extnotifConfig) { NavigationLink(value: SettingsNavigationState.externalNotification) { Label { Text("external.notification") @@ -248,8 +247,7 @@ struct Settings: View { } } - if let node = nodes.first(where: { $0.num == preferredNodeNum }), - node.metadata?.hasWifi ?? false, isModuleSupported(.serialConfig) { + if isModuleSupported(.serialConfig) { NavigationLink(value: SettingsNavigationState.serial) { Label { Text("serial")