mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Use display unit instead of hardcoded DRK for darksend hint
This commit is contained in:
parent
a80da619a7
commit
fb312b0cd3
@ -148,7 +148,12 @@ void SendCoinsDialog::on_sendButton_clicked()
|
|||||||
if(ui->checkUseDarksend->isChecked()) {
|
if(ui->checkUseDarksend->isChecked()) {
|
||||||
recipients[0].inputType = "ONLY_DENOMINATED";
|
recipients[0].inputType = "ONLY_DENOMINATED";
|
||||||
strFunds = "Using <b>Anonymous Funds</b>";
|
strFunds = "Using <b>Anonymous Funds</b>";
|
||||||
strFee = "(Darksend requires this amount to be rounded up to the nearest 0.1DRK)";
|
QString strNearestAmount(
|
||||||
|
BitcoinUnits::formatWithUnit(
|
||||||
|
model->getOptionsModel()->getDisplayUnit(), 0.1 * COIN));
|
||||||
|
strFee = QString(
|
||||||
|
"(Darksend requires this amount to be rounded up to the nearest %1.)"
|
||||||
|
).arg(strNearestAmount);
|
||||||
} else {
|
} else {
|
||||||
recipients[0].inputType = "ALL_COINS";
|
recipients[0].inputType = "ALL_COINS";
|
||||||
strFunds = "Using <b>ANY AVAILABLE Funds</b>";
|
strFunds = "Using <b>ANY AVAILABLE Funds</b>";
|
||||||
|
Loading…
Reference in New Issue
Block a user