mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Fix for External Notification and Serial module settings
This commit is contained in:
parent
18db01eb7f
commit
bebeda8c74
1 changed files with 2 additions and 4 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue