diff options
Diffstat (limited to 'sw-ui/src/main/kotlin/org/luxons')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt index 1f2709e7..28003cef 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt @@ -115,7 +115,7 @@ private fun RBuilder.centeredTd(block: RDOMBuilder<TD>.() -> Unit) { } private val ScoreCategory.intent: Intent - get() = when(this) { + get() = when (this) { ScoreCategory.CIVIL -> Intent.PRIMARY ScoreCategory.SCIENCE -> Intent.SUCCESS ScoreCategory.MILITARY -> Intent.DANGER @@ -126,7 +126,7 @@ private val ScoreCategory.intent: Intent } private val ScoreCategory.icon: String - get() = when(this) { + get() = when (this) { ScoreCategory.CIVIL -> "office" ScoreCategory.SCIENCE -> "lab-test" ScoreCategory.MILITARY -> "cut" |