add help menu item to open telegram support

This commit is contained in:
Craig Raw
2022-08-02 11:40:42 +02:00
parent cc8dd59dbc
commit 4c36d27d17
3 changed files with 6 additions and 1 deletions
@@ -426,6 +426,10 @@ public class AppController implements Initializable {
}
}
public void openSupport(ActionEvent event) {
AppServices.get().getApplication().getHostServices().showDocument("https://sparrowwallet.com/opensupport");
}
public void submitBugReport(ActionEvent event) {
AppServices.get().getApplication().getHostServices().showDocument("https://sparrowwallet.com/submitbugreport");
}
@@ -385,7 +385,7 @@ public class EntryCell extends TreeTableCell<Entry, Entry> {
amount = String.format("%.2f", (double)vSizefromTip / 1000) + " kvB";
}
tooltip += "\nConfirms in: ±" + blocksFromTip + " block" + (blocksFromTip > 1 ? "s" : "") + " (" + amount + " from tip)";
tooltip += "\nConfirms in: " + (blocksFromTip > 1 ? blocksFromTip + "+ blocks" : "1 block") + " (" + amount + " from tip)";
}
if(feeRate != null) {