diff options
| author | ilotterytea <iltsu@alright.party> | 2024-10-25 17:27:18 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-10-25 17:27:18 +0500 |
| commit | 488168dc69be22e0c1a529d77892260033807a43 (patch) | |
| tree | d4c744a1b8941407fc942c68ab704e97033c48e3 /core/src/kz/ilotterytea/maxon/screens | |
| parent | e5b990f11190821239a0df3b14d8d5f65541f876 (diff) | |
feat: skins for buy and sell buttons
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/screens')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java index 13921a6..6f0ed5e 100644 --- a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java +++ b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java @@ -158,11 +158,11 @@ public class ShopUI { // Mode changer Table modeTable = new Table(); - TextButton buyButton = new TextButton(MaxonGame.getInstance().getLocale().getLine(LineId.StoreBuy), this.skin, styleName); + TextButton buyButton = new TextButton(MaxonGame.getInstance().getLocale().getLine(LineId.StoreBuy), this.skin, OsUtils.isMobile ? "store_buy_mobile" : "store_buy"); buyButton.setDisabled(true); modeTable.add(buyButton).padBottom(5f).growX().row(); - TextButton sellButton = new TextButton(MaxonGame.getInstance().getLocale().getLine(LineId.StoreSell), this.skin, styleName); + TextButton sellButton = new TextButton(MaxonGame.getInstance().getLocale().getLine(LineId.StoreSell), this.skin, OsUtils.isMobile ? "store_sell_mobile" : "store_sell"); modeTable.add(sellButton).growX(); sellButton.addListener(new ClickListener() { |
