From d226f1284ddc204493f58c65cff90eee8031bcfa Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sat, 23 May 2020 02:20:17 +0200 Subject: Fix code style --- .../kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-ui/src/main/kotlin/org') 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.() -> 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" -- cgit