main: wizard: console.log fixes

This commit is contained in:
selsta 2020-10-08 21:22:27 +02:00
parent d3943ca2a9
commit 8ad5fd4c76
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
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;
}
}