refactor: rename channel_num to frequency slot

This commit is contained in:
andrekir
2024-02-25 07:44:53 -03:00
parent 570a26b413
commit 44d260abff

View File

@@ -130,7 +130,7 @@ fun LoRaConfigItemList(
item {
var isFocused by remember { mutableStateOf(false) }
EditTextPreference(title = "Channel number",
EditTextPreference(title = "Frequency slot",
value = if (isFocused || loraInput.channelNum != 0) loraInput.channelNum else primaryChannel.channelNum,
enabled = enabled,
keyboardActions = KeyboardActions(onDone = { focusManager.clearFocus() }),