mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 13:26:44 +00:00
add help menu item to open telegram support
This commit is contained in:
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) {
|
public void submitBugReport(ActionEvent event) {
|
||||||
AppServices.get().getApplication().getHostServices().showDocument("https://sparrowwallet.com/submitbugreport");
|
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";
|
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) {
|
if(feeRate != null) {
|
||||||
|
|
|
@ -125,6 +125,7 @@
|
||||||
<MenuItem mnemonicParsing="false" text="Show Introduction" onAction="#showIntroduction"/>
|
<MenuItem mnemonicParsing="false" text="Show Introduction" onAction="#showIntroduction"/>
|
||||||
<MenuItem mnemonicParsing="false" text="Show Online Documentation" onAction="#showDocumentation"/>
|
<MenuItem mnemonicParsing="false" text="Show Online Documentation" onAction="#showDocumentation"/>
|
||||||
<MenuItem mnemonicParsing="false" text="Show Log File" onAction="#showLogFile"/>
|
<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 mnemonicParsing="false" text="Submit Bug Report" onAction="#submitBugReport"/>
|
||||||
<MenuItem styleClass="osxHide" mnemonicParsing="false" text="About Sparrow" onAction="#showAbout"/>
|
<MenuItem styleClass="osxHide" mnemonicParsing="false" text="About Sparrow" onAction="#showAbout"/>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|
Loading…
Reference in a new issue