mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-14 09:46:48 -04:00
Fix unmessageable toggle (#2282)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
@@ -148,7 +148,7 @@ fun UserConfigItemList(
|
||||
firmwareVersion < DeviceVersion("2.6.9") &&
|
||||
userInput.role.isUnmessageableRole()
|
||||
),
|
||||
enabled = userInput.hasIsUnmessagable(),
|
||||
enabled = userInput.hasIsUnmessagable() || firmwareVersion >= DeviceVersion("2.6.9"),
|
||||
onCheckedChange = { userInput = userInput.copy { isUnmessagable = it } }
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user