summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2022-12-10 22:06:15 +0600
committerilotterytea <iltsu@alright.party>2022-12-10 22:06:15 +0600
commit9022d3112106763e9162add6bbd4e5bd7043822e (patch)
tree7bf2c6dfe3c1b9eadfb97faf088b42a40e2cad21 /core/src
parent6a6449581128381e42213256bfdb9b52a0db11e9 (diff)
Show the price and multiplier instead of description
Diffstat (limited to 'core/src')
-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 3393288..89fa46a 100644
--- a/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
+++ b/core/src/com/ilotterytea/maxoning/ui/PurchaseItem.java
@@ -19,10 +19,10 @@ public class PurchaseItem extends Table {
Table summary = new Table();
summary.align(Align.topLeft);
- Label name = new Label(String.format("%s ($%s) (x%s/click)", item.name, MaxonConstants.DECIMAL_FORMAT.format(item.price), MaxonConstants.DECIMAL_FORMAT.format(item.multiplier)), skin);
+ Label name = new Label(item.name, skin, "subheader");
name.setAlignment(Align.left);
- Label desc = new Label(item.desc, skin);
+ Label desc = new Label(String.format("%s SQP (%s/click)", MaxonConstants.DECIMAL_FORMAT.format(item.price), MaxonConstants.DECIMAL_FORMAT.format(item.multiplier)), skin);
desc.setAlignment(Align.left);
summary.add(name).width(desc.getWidth()).row();