mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(PositionConfig): clear changes on cancel button click
This commit is contained in:
parent
dc9e780663
commit
e5d60003fc
1 changed files with 2 additions and 0 deletions
|
|
@ -182,6 +182,8 @@ fun PositionConfigItemList(
|
|||
enabled = positionInput != positionConfig || locationInput != location,
|
||||
onCancelClicked = {
|
||||
focusManager.clearFocus()
|
||||
locationInput = location
|
||||
positionInput = positionConfig
|
||||
},
|
||||
onSaveClicked = {
|
||||
focusManager.clearFocus()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue