From 488168dc69be22e0c1a529d77892260033807a43 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 25 Oct 2024 17:27:18 +0500 Subject: feat: skins for buy and sell buttons --- core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/kz/ilotterytea/maxon/screens') 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() { -- cgit v1.2.3