Skip to content

Commit 2000465

Browse files
authored
Merge pull request #17 from fmasa/encounter-removal
Fix Encounter removal
2 parents 7bd3ac0 + 756adc2 commit 2000465

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)