mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(settings): Correct hop_limit type for LoRa config (#4525)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
eaf37a052c
commit
88ca011c38
1 changed files with 2 additions and 2 deletions
|
|
@ -181,8 +181,8 @@ fun LoRaConfigScreen(viewModel: RadioConfigViewModel, onBack: () -> Unit) {
|
|||
title = stringResource(Res.string.hop_limit),
|
||||
summary = stringResource(Res.string.config_lora_hop_limit_summary),
|
||||
items = hopLimitItems,
|
||||
selectedItem = formState.value.hop_limit.toLong(),
|
||||
onItemSelected = { formState.value = formState.value.copy(hop_limit = it.toInt()) },
|
||||
selectedItem = formState.value.hop_limit,
|
||||
onItemSelected = { formState.value = formState.value.copy(hop_limit = it) },
|
||||
enabled = state.connected,
|
||||
)
|
||||
HorizontalDivider()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue