mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-19 04:09:37 -04: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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user