kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
refactor: set random PSK on default channel name change
rodzic
a10fe75f64
commit
e02ecaec6e
|
@ -87,7 +87,7 @@ fun EditChannelDialog(
|
||||||
keyboardActions = KeyboardActions(onDone = { }),
|
keyboardActions = KeyboardActions(onDone = { }),
|
||||||
onValueChanged = {
|
onValueChanged = {
|
||||||
nameInput = it
|
nameInput = it
|
||||||
getRandomKey()
|
if (pskInput == Channel.default.settings.psk) getRandomKey()
|
||||||
},
|
},
|
||||||
onFocusChanged = { isFocused = it.isFocused },
|
onFocusChanged = { isFocused = it.isFocused },
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue