Merge pull request #3143

8ad5fd4 main: wizard: console.log fixes (selsta)
This commit is contained in:
luigi1111 2020-10-13 12:37:55 -05:00
commit 7cb24f50b8
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
2 changed files with 1 additions and 2 deletions

View File

@ -1299,7 +1299,7 @@ ApplicationWindow {
function fiatApiConvertToFiat(amount) {
var ticker = persistentSettings.fiatPriceCurrency === "xmrusd" ? appWindow.fiatPriceXMRUSD : appWindow.fiatPriceXMREUR;
if(ticker <= 0){
console.log(fiatApiError("Invalid ticker value: " + ticker));
fiatApiError("Invalid ticker value: " + ticker);
return "?.??";
}
return (amount * ticker).toFixed(2);

View File

@ -222,7 +222,6 @@ Rectangle {
validator: IntValidator { bottom: 1 }
text: persistentSettings.kdfRounds ? persistentSettings.kdfRounds : "1"
onTextChanged: {
console.log('x');
kdfRoundsText.text = persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
}
}