diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-23 02:20:17 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-23 02:20:17 +0200 |
commit | d226f1284ddc204493f58c65cff90eee8031bcfa (patch) | |
tree | f5dd8fca78615702bf757c7e4e5c2d4a29f75648 /sw-ui/src/main/kotlin/org | |
parent | Fix score board background (diff) | |
download | seven-wonders-d226f1284ddc204493f58c65cff90eee8031bcfa.tar.gz seven-wonders-d226f1284ddc204493f58c65cff90eee8031bcfa.tar.bz2 seven-wonders-d226f1284ddc204493f58c65cff90eee8031bcfa.zip |
Fix code style
Diffstat (limited to 'sw-ui/src/main/kotlin/org')
-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" |