mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: replace focusManager parameter with LocalFocusManager
This commit is contained in:
parent
0f372b8947
commit
86cdb0106f
23 changed files with 105 additions and 131 deletions
|
|
@ -277,14 +277,11 @@ fun ChannelScreen(
|
|||
settingsList = channelSet.settingsList,
|
||||
modemPresetName = modemPresetName,
|
||||
enabled = enabled,
|
||||
focusManager = focusManager,
|
||||
onNegativeClicked = {
|
||||
focusManager.clearFocus()
|
||||
showChannelEditor = false
|
||||
},
|
||||
positiveText = R.string.save,
|
||||
onPositiveClicked = {
|
||||
focusManager.clearFocus()
|
||||
showChannelEditor = false
|
||||
channelSet = channelSet.toBuilder().clearSettings().addAllSettings(it).build()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue