Browse Source

add help menu item to open telegram support

terminal
Craig Raw 2 years ago
parent
commit
4c36d27d17
  1. 4
      src/main/java/com/sparrowwallet/sparrow/AppController.java
  2. 2
      src/main/java/com/sparrowwallet/sparrow/control/EntryCell.java
  3. 1
      src/main/resources/com/sparrowwallet/sparrow/app.fxml

4
src/main/java/com/sparrowwallet/sparrow/AppController.java

@ -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");
}

2
src/main/java/com/sparrowwallet/sparrow/control/EntryCell.java

@ -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) {

1
src/main/resources/com/sparrowwallet/sparrow/app.fxml

@ -125,6 +125,7 @@
<MenuItem mnemonicParsing="false" text="Show Introduction" onAction="#showIntroduction"/>
<MenuItem mnemonicParsing="false" text="Show Online Documentation" onAction="#showDocumentation"/>
<MenuItem mnemonicParsing="false" text="Show Log File" onAction="#showLogFile"/>
<MenuItem mnemonicParsing="false" text="Get Support" onAction="#openSupport"/>
<MenuItem mnemonicParsing="false" text="Submit Bug Report" onAction="#submitBugReport"/>
<MenuItem styleClass="osxHide" mnemonicParsing="false" text="About Sparrow" onAction="#showAbout"/>
</Menu>

Loading…
Cancel
Save