mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	Fix balance display in streamer mode
This commit is contained in:
		
							parent
							
								
									45f0e78761
								
							
						
					
					
						commit
						37e0ad5b59
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue