kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
feat: add node_info_broadcast_secs config
rodzic
831c51a431
commit
476ecefe94
|
@ -188,6 +188,16 @@ fun DeviceSettingsItemList(viewModel: UIViewModel) {
|
||||||
}
|
}
|
||||||
item { Divider() }
|
item { Divider() }
|
||||||
|
|
||||||
|
item {
|
||||||
|
EditTextPreference(title = "NodeInfo broadcast interval",
|
||||||
|
value = deviceInput.nodeInfoBroadcastSecs,
|
||||||
|
enabled = connected,
|
||||||
|
keyboardActions = KeyboardActions(onDone = { focusManager.clearFocus() }),
|
||||||
|
onValueChanged = {
|
||||||
|
deviceInput = deviceInput.copy { nodeInfoBroadcastSecs = it }
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
item {
|
item {
|
||||||
PreferenceFooter(
|
PreferenceFooter(
|
||||||
enabled = deviceInput != localConfig.device,
|
enabled = deviceInput != localConfig.device,
|
||||||
|
|
Ładowanie…
Reference in New Issue