Skip to content

Commit 7c40450

Browse files
authored
Merge pull request #365 from fmasa/fumble-fix
Fix formatting for Critical/Fumble
2 parents f88b06b + d791313 commit 7c40450

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)