mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-18 08:44:34 +00:00
Don't set default donation amount
This commit is contained in:
parent
c10a6a3829
commit
558ed2d7ac
2 changed files with 1 additions and 6 deletions
|
@ -910,11 +910,7 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::donateButtonClicked() {
|
void MainWindow::donateButtonClicked() {
|
||||||
double donation = appData()->prices.convert("EUR", "XMR", constants::donationAmount);
|
m_sendWidget->fill(constants::donationAddress, "Donation to the Feather development team");
|
||||||
if (donation <= 0)
|
|
||||||
donation = 0.1337;
|
|
||||||
|
|
||||||
m_sendWidget->fill(constants::donationAddress, "Donation to the Feather development team", donation);
|
|
||||||
ui->tabWidget->setCurrentIndex(Tabs::SEND);
|
ui->tabWidget->setCurrentIndex(Tabs::SEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ namespace constants
|
||||||
|
|
||||||
// donation constants
|
// donation constants
|
||||||
const QString donationAddress = "47ntfT2Z5384zku39pTM6hGcnLnvpRYW2Azm87GiAAH2bcTidtq278TL6HmwyL8yjMeERqGEBs3cqC8vvHPJd1cWQrGC65f";
|
const QString donationAddress = "47ntfT2Z5384zku39pTM6hGcnLnvpRYW2Azm87GiAAH2bcTidtq278TL6HmwyL8yjMeERqGEBs3cqC8vvHPJd1cWQrGC65f";
|
||||||
const int donationAmount = 25; // euro
|
|
||||||
const int donationBoundary = 25;
|
const int donationBoundary = 25;
|
||||||
|
|
||||||
// websocket constants
|
// websocket constants
|
||||||
|
|
Loading…
Reference in a new issue