Fix balance display in streamer mode

pull/45/head
dsc 3 years ago
parent d846790905
commit de5bea9cdf

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

Loading…
Cancel
Save