Skip to content

Commit 756adc2

Browse files
committed
Fix Encounter removal
1 parent aee2bea commit 756adc2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

common/src/commonMain/kotlin/cz/frantisekmasa/wfrp_master/common/encounters/EncounterDetailScreen.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,11 @@ class EncounterDetailScreen(
199199
Text(strings.commonUi.buttonRemove)
200200
}
201201
},
202-
dismissButton = { dialogOpened = false }
202+
dismissButton = {
203+
TextButton(onClick = { dialogOpened = false }) {
204+
Text(strings.commonUi.buttonCancel)
205+
}
206+
}
203207
)
204208
}
205209

0 commit comments

Comments
 (0)