Merge pull request #1158 from meshtastic/excluded-modules

Fix for External Notification and Serial module settings
This commit is contained in:
Garth Vander Houwen 2025-03-30 08:33:44 -07:00 committed by GitHub
commit b94640df15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")