Fix balance display in streamer mode

This commit is contained in:
dsc 2021-04-14 01:15:42 +02:00
parent 45f0e78761
commit 37e0ad5b59
1 changed files with 4 additions and 2 deletions

View File

@ -241,15 +241,17 @@ Rectangle {
text: {
let rtn = "Balance: ";
try {
if(!appWindow.streamerMode)
if(!appWindow.streamerMode) {
rtn += WowletVR.wowToFiat(appWindow.spendable);
return rtn + " " + appWindow.fiatSymbol
}
else
rtn += "HIDDEN";
} catch(err) {
rtn += "ERROR";
}
return rtn + " " + appWindow.fiatSymbol
return rtn;
}
color: Style.fontColorDimmed
}