summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGreDDySS <97845769+GreDDySS@users.noreply.github.com>2022-10-11 14:10:03 +0800
committerGitHub <noreply@github.com>2022-10-11 14:10:03 +0800
commit40b947902a1aff04404d5338227eefdca5c30325 (patch)
treee1ff9dd4b4188e1b9cc49a24fbad4beddf2968d1 /core
parent72f0873b112a27ae01508af9ffc911261b3a564d (diff)
Подкорректировал чуток, чтоб работал новый формат
Diffstat (limited to 'core')
-rw-r--r--core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java b/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
index c3778dc..367dfb9 100644
--- a/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
+++ b/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
@@ -10,14 +10,14 @@ public class PurchaseItem extends Stack {
AnimatedImage icon,
CharSequence name,
CharSequence desc,
- float price
+ String price
) {
super(new Image(widgetSkin, "up"));
Table summary = new Table();
summary.setHeight(super.getHeight());
- Label title = new Label(String.format("%s\n(%s)", name, price), skin, "purchaseitem_title");
+ Label title = new Label(String.format("%s\n(%s)", name, string), skin, "purchaseitem_title");
summary.add(title).fillX().row();