Skip to content

Commit

Permalink
support tab updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Exslims committed Jan 22, 2018
1 parent 913f411 commit 6d006a3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.mercury.platform.core;

public class MercuryConstants {
public static final String APP_VERSION = "1.0.3.1.0";
public static final String APP_VERSION = "1.0.3.2.0";
public static final String SERVER_HOST = "exslims.ddns.net";
public static final int PORT = 5555;
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ public void mouseWheelMoved(MouseWheelEvent e) {

private List<DonationPair> getDonations() {
List<DonationPair> donations = new ArrayList<>();
donations.add(new DonationPair("Sklifan", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("222Craft", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("Xagulz", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("Taw", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("AMusel", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("Blightsand", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("Mattc3303", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("StubenZocker", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("Bjertsjö", AppThemeColor.TEXT_DEFAULT));
donations.add(new DonationPair("SirKultan", AppThemeColor.TEXT_DEFAULT));
return donations;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ private JPanel getBottomPanel() {

AdrDurationComponentDescriptor donateDescriptor = new AdrProgressBarDescriptor();
donateDescriptor.setIconEnable(false);
donateDescriptor.setDuration(200d);
donateDescriptor.setDuration(50d);
donateDescriptor.setSize(new Dimension(100, 20));
donateDescriptor.setType(AdrComponentType.PROGRESS_BAR);
donateDescriptor.setCustomTextEnable(true);
donateDescriptor.setCustomText("0$");
donateDescriptor.setCustomText("21$");
donateDescriptor.setFontSize(21);
donateDescriptor.setLowValueTextColor(AppThemeColor.TEXT_DEFAULT);
donateDescriptor.setMediumValueTextColor(AppThemeColor.TEXT_DEFAULT);
Expand All @@ -93,7 +93,7 @@ private JPanel getBottomPanel() {
donateDescriptor.setBackgroundColor(AppThemeColor.FRAME);
donateDescriptor.setForegroundColor(AppThemeColor.BUTTON);
MercuryTracker tracker = new MercuryTracker(donateDescriptor);
tracker.setValue(1000);
tracker.setValue(22 * 1000);
tracker.setPreferredSize(donateDescriptor.getSize());
root.add(this.componentsFactory.getTextLabel("Monthly donations:", FontStyle.BOLD, 16), BorderLayout.LINE_START);
root.add(this.componentsFactory.wrapToSlide(tracker, AppThemeColor.ADR_FOOTER_BG, 2, 2, 2, 1), BorderLayout.CENTER);
Expand Down
4 changes: 2 additions & 2 deletions app-ui/src/main/resources/notes/patch/patch-notes.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"version": "1.0.3.1.0",
"version": "1.0.3.2.0",
"notes":[
{
"title": "Update",
"text": "- Added /whois button to outgoing notification panel.\n- Fixed a bug when sometimes notification panel won't show orb icons.\n- Many backend improvements for rework \"History\" feature in next version.\n- Support tab updated.\n\nHappy new year! If you love MercuryTrade so much it has become your favourite application to play the game - show your appreciation by supporting it! Thanks!",
"text": "- Added /whois button to scanner notification panel. \n- Fixed a bug when chat scanner is not ignore nickname from chat.\n- Now notification panel works with french POE client.\n- Support tab updated.\n\nDon't forget to [support ](https://www.paypal.me/mercurytrade) the app, we really appreciate it! Thanks!",
"image" : "",
"layout" : "VERTICAL"
}
Expand Down

0 comments on commit 6d006a3

Please sign in to comment.