From ea4e6c5a5275848237008a0662bfb8c055ecc79c Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Tue, 7 Sep 2021 19:12:07 +0200 Subject: Replace deprecated icon sizes --- .../luxons/sevenwonders/ui/components/game/TransactionsSelector.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/TransactionsSelector.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt index 4f375aff..46f7cca7 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/TransactionsSelector.kt @@ -162,7 +162,7 @@ private fun RDOMBuilder.transactionsOptionRow( styledDiv { css { opacity = if (leftTr == null) 0.5 else 1 } transactionCellInnerCss() - bpIcon(name = "caret-left", size = Icon.SIZE_LARGE) + bpIcon(name = "caret-left", size = IconSize.LARGE) goldIndicator(leftTr?.totalPrice ?: 0, imgSize = 2.5.rem) } } @@ -191,7 +191,7 @@ private fun RDOMBuilder.transactionsOptionRow( css { opacity = if (rightTr == null) 0.5 else 1 } transactionCellInnerCss() goldIndicator(rightTr?.totalPrice ?: 0, imgSize = 2.5.rem) - bpIcon(name = "caret-right", size = Icon.SIZE_LARGE) + bpIcon(name = "caret-right", size = IconSize.LARGE) } } } -- cgit