added uptime monitoring
This commit is contained in:
@@ -67,6 +67,11 @@ class _AccountBalanceWidgetState extends State<AccountBalanceWidget> {
|
||||
_isLoadingZwG = true;
|
||||
});
|
||||
|
||||
// no need to proceed if not logged in
|
||||
if (!_isLoggedIn) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Fetch USD balance
|
||||
final usdResult = await _accountProvider.fetchAccount(_workspaceId, 'USD');
|
||||
if (mounted) {
|
||||
|
||||
Reference in New Issue
Block a user