More translations and UI stuff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user