mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(LoraConfig): ensure primaryChannel updates on loraInput changes
This commit is contained in:
parent
fcdf74ed94
commit
092ed32c23
1 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,9 @@ fun LoRaConfigItemList(
|
|||
) {
|
||||
val focusManager = LocalFocusManager.current
|
||||
var loraInput by rememberSaveable { mutableStateOf(loraConfig) }
|
||||
val primaryChannel = Channel(primarySettings, loraInput)
|
||||
val primaryChannel by remember(loraInput) {
|
||||
mutableStateOf(Channel(primarySettings, loraInput))
|
||||
}
|
||||
|
||||
LazyColumn(
|
||||
modifier = Modifier.fillMaxSize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue