fix(PositionConfig): clear changes on cancel button click

This commit is contained in:
andrekir
2024-09-19 17:51:58 -03:00
parent dc9e780663
commit e5d60003fc

View File

@@ -182,6 +182,8 @@ fun PositionConfigItemList(
enabled = positionInput != positionConfig || locationInput != location,
onCancelClicked = {
focusManager.clearFocus()
locationInput = location
positionInput = positionConfig
},
onSaveClicked = {
focusManager.clearFocus()