summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/org/luxons
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-05-23 02:20:17 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-05-23 02:20:17 +0200
commitd226f1284ddc204493f58c65cff90eee8031bcfa (patch)
treef5dd8fca78615702bf757c7e4e5c2d4a29f75648 /sw-ui/src/main/kotlin/org/luxons
parentFix score board background (diff)
downloadseven-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/luxons')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt4
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"
bgstack15