More translations and UI stuff

This commit is contained in:
fekt
2024-04-11 21:19:22 -04:00
parent 5653a27292
commit 545c27ba36
19 changed files with 71 additions and 72 deletions

View File

@@ -133,7 +133,7 @@ bool Settings::isSaplingActive() {
}
double Settings::getDRAGONXPrice() {
return HUSHPrice;
return DRAGONXPrice;
}
double Settings::getEURPrice() {
return EURPrice;
@@ -358,7 +358,7 @@ QString Settings::getTokenName() {
if (Settings::getInstance()->isTestnet()) {
return "TUSH";
} else {
return "HUSH";
return "DRAGONX";
}
}
@@ -395,8 +395,8 @@ QString Settings::paymentURIPretty(PaymentURI uri) {
PaymentURI Settings::parseURI(QString uri) {
PaymentURI ans;
if (!uri.startsWith("hush:")) {
ans.error = "Not a HUSH payment URI";
if (!uri.startsWith("drgx:")) {
ans.error = "Not a DRGX payment URI";
return ans;
}