diff --git a/src/ArweaveBlazor/ArweaveBlazor.csproj b/src/ArweaveBlazor/ArweaveBlazor.csproj index f59de51..076997b 100644 --- a/src/ArweaveBlazor/ArweaveBlazor.csproj +++ b/src/ArweaveBlazor/ArweaveBlazor.csproj @@ -23,7 +23,7 @@ - + diff --git a/src/aoWebWallet/Pages/Wallets.razor.cs b/src/aoWebWallet/Pages/Wallets.razor.cs index 45edc1d..b3997e9 100644 --- a/src/aoWebWallet/Pages/Wallets.razor.cs +++ b/src/aoWebWallet/Pages/Wallets.razor.cs @@ -16,7 +16,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { - BindingContext.CheckHasArConnectExtension(); + await BindingContext.CheckHasArConnectExtension(); await BindingContext.LoadWalletList(); await BindingContext.LoadTokenList(); @@ -25,12 +25,12 @@ protected override async Task OnAfterRenderAsync(bool firstRender) await base.OnAfterRenderAsync(firstRender); } - protected override async Task LoadDataAsync() - { + //protected override async Task LoadDataAsync() + //{ - //BindingContext.LoadStats(); - } + // //BindingContext.LoadStats(); + //} } } diff --git a/src/aoWebWallet/ViewModels/MainViewModel.cs b/src/aoWebWallet/ViewModels/MainViewModel.cs index 20f4a19..77b0388 100644 --- a/src/aoWebWallet/ViewModels/MainViewModel.cs +++ b/src/aoWebWallet/ViewModels/MainViewModel.cs @@ -437,7 +437,7 @@ public async Task Claim2() if (UserSettings != null) { var tx = await Claim(2); - if (tx != null) + if (tx != null && !string.IsNullOrEmpty(tx.Id)) { UserSettings.Claimed2 = true; await storageService.SaveUserSettings(UserSettings); @@ -459,7 +459,7 @@ public async Task Claim3() if (UserSettings != null) { var tx = await Claim(3); - if (tx != null) + if (tx != null && !string.IsNullOrEmpty(tx.Id)) { UserSettings.Claimed3 = true; await storageService.SaveUserSettings(UserSettings); diff --git a/src/aoWebWallet/aoWebWallet.csproj b/src/aoWebWallet/aoWebWallet.csproj index 8269cfc..9f290f2 100644 --- a/src/aoWebWallet/aoWebWallet.csproj +++ b/src/aoWebWallet/aoWebWallet.csproj @@ -16,8 +16,8 @@ - - + +