From 855c03d62c15b5d9449257563d24955dabb69dbb Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Sun, 13 Dec 2020 01:41:10 +0100 Subject: Add missing branch in when statement --- .../org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'sw-ui') diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt index 7e4c66ba..b05b903c 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt @@ -57,6 +57,7 @@ class PlayerInfoPresenter(props: PlayerInfoProps) : RComponent marginTop = margin FlexDirection.rowReverse -> marginRight = margin FlexDirection.columnReverse -> marginBottom = margin + else -> error("Unsupported orientation '${props.orientation}' for player info component") } } -- cgit