We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e84a71 commit a64b5f8Copy full SHA for a64b5f8
pretixscan/composeApp/src/commonMain/kotlin/eu/pretix/scan/tickets/data/ResultState.kt
@@ -30,11 +30,11 @@ fun ResultState.color(): Color {
30
}
31
32
fun ResultState.requiresUserInteraction(): Boolean {
33
- return this == ResultState.DIALOG_UNPAID || this == ResultState.DIALOG_QUESTIONS
+ return this == ResultState.DIALOG_QUESTIONS
34
35
36
fun ResultState.isAutoDismissible(): Boolean {
37
- return this == ResultState.SUCCESS || this == ResultState.SUCCESS_EXIT
+ return this == ResultState.SUCCESS || this == ResultState.SUCCESS_EXIT || this == ResultState.DIALOG_UNPAID || this == ResultState.ERROR || this == ResultState.WARNING
38
39
40
data class ResultStateData(
0 commit comments