diff --git a/Meshtastic/Views/Settings/UserConfig.swift b/Meshtastic/Views/Settings/UserConfig.swift index 34238ad9..54001b7b 100644 --- a/Meshtastic/Views/Settings/UserConfig.swift +++ b/Meshtastic/Views/Settings/UserConfig.swift @@ -222,6 +222,9 @@ struct UserConfig: View { .onChange(of: longName) { oldLong, newLong in if oldLong != newLong && newLong != node?.user?.longName ?? "Unknown" { hasChanges = true } } + .onChange(of: isUnmessagable) { oldIsUnmessagable, newIsUnmessagable in + if oldIsUnmessagable != newIsUnmessagable && newIsUnmessagable != node?.user?.unmessagable ?? true { hasChanges = true } + } .onChange(of: isLicensed) { _, newIsLicensed in if node != nil && node!.user != nil { if newIsLicensed != node?.user!.isLicensed {