Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Fixed EDDN updates (the second time)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fi0x committed Jun 9, 2021
1 parent 7a2139e commit 8b618e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/fi0x/edct/data/EDDN.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void run()
STATION station = JSONCleanup.getStationTrade(systemName, stationName, padsize, stationtype, trade, false);
if(station != null) DBHandler.getInstance().setStationData(station, commodityID, false);

station = JSONCleanup.getStationTrade(systemName, stationName, padsize, stationtype, trade, false);
station = JSONCleanup.getStationTrade(systemName, stationName, padsize, stationtype, trade, true);
if(station != null) DBHandler.getInstance().setStationData(station, commodityID, true);
}
Platform.runLater(() ->
Expand All @@ -137,7 +137,7 @@ private int getInaraIDForCommodity(String commodityJSON)
try
{
JSONObject json = (JSONObject) new JSONParser().parse(commodityJSON);
commodityName = (String) json.get("name");
commodityName = ((String) json.get("name")).toLowerCase();
} catch(ParseException e)
{
Logger.WARNING("Could not parse an EDDN json for a commodity");
Expand Down
9 changes: 0 additions & 9 deletions src/main/resources/css/datastorage.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,4 @@
}
.label {
-fx-padding: 0 5 0 0;
}
.button {
-fx-background-color: #cccccc;
-fx-text-fill: #404040;
-fx-padding: 5 10 5 10;
}
.button:hover {
-fx-background-color: #404040;
-fx-text-fill: #cccccc;
}

0 comments on commit 8b618e3

Please sign in to comment.