mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-30 19:54:27 -04:00
refactor: update mqtt address size
This commit is contained in:
@@ -69,7 +69,7 @@ fun ModuleSettingsItemList(viewModel: UIViewModel) {
|
||||
),
|
||||
keyboardActions = KeyboardActions(onDone = { focusManager.clearFocus() }),
|
||||
onValueChanged = { value ->
|
||||
if (value.toByteArray().size <= 31) // address max_size:32
|
||||
if (value.toByteArray().size <= 63) // address max_size:64
|
||||
mqttInput = mqttInput.copy { address = value }
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user