fix cross-platform issues

This commit is contained in:
Craig Raw 2020-11-25 11:45:26 +02:00
parent 99a39aa83f
commit 6e2e5d7a9c
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ public class MainApp extends Application {
stage.setTitle("Sparrow");
stage.setMinWidth(650);
stage.setMinHeight(700);
stage.setMinHeight(830);
stage.setScene(scene);
stage.getIcons().add(new Image(MainApp.class.getResourceAsStream("/image/sparrow.png")));

View file

@ -144,13 +144,13 @@ public class MempoolSizeFeeRatesChart extends StackedAreaChart<String, Number> {
private Map<Date, String> getCategories(Map<Date, Set<MempoolRateSize>> mempoolHistogram) {
Map<Date, String> categories = new LinkedHashMap<>();
String invisible = "" + (char)29;
String invisible = "" + '\ufeff';
for(Iterator<Date> iter = mempoolHistogram.keySet().iterator(); iter.hasNext(); ) {
Date date = iter.next();
String label = dateFormatter.format(date);
if(!categories.isEmpty() && iter.hasNext()) {
label = invisible;
invisible += (char)29;
invisible += '\ufeff';
}
categories.put(date, label);