Skip to content

Commit d791313

Browse files
committed
Fix formatting for Critical/Fumble
1 parent f88b06b commit d791313

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/src/commonMain/kotlin/cz/frantisekmasa/wfrp_master/common/skillTest/TestResultScreen.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,13 @@ private fun TestResultCard(
8484
)
8585

8686
if (testResult.isFumble) {
87+
append(" (")
8788
append(stringResource(Str.tests_fumble))
89+
append(')')
8890
} else if (testResult.isCritical) {
91+
append(" (")
8992
append(stringResource(Str.tests_critical))
93+
append(')')
9094
}
9195
},
9296
)

0 commit comments

Comments
 (0)