Skip to content

Commit 1707672

Browse files
committed
ConfigKeyMapScreen: dismiss back dialog before going back
1 parent 20e99df commit 1707672

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/src/main/java/io/github/sds100/keymapper/mappings/keymaps/ConfigKeyMapScreen.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ private fun ConfigKeyMapScreen(
129129
if (showBackDialog) {
130130
BackDialog(
131131
onDismiss = { showBackDialog = false },
132-
onDiscardClick = navigateBack,
132+
onDiscardClick = {
133+
showBackDialog = false
134+
navigateBack()
135+
},
133136
)
134137
}
135138

0 commit comments

Comments
 (0)