Fix balance display in streamer mode
This commit is contained in:
parent
d846790905
commit
de5bea9cdf
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue