1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-01 08:03:37 +00:00

handle some loading race conditions

This commit is contained in:
Kyle Spearrin
2019-06-13 14:08:21 -04:00
parent 28166f79a1
commit 8df4c27203
2 changed files with 15 additions and 3 deletions

View File

@@ -126,6 +126,7 @@ namespace Bit.App.Pages
public ExtendedObservableCollection<GroupingsPageListGroup> GroupedItems { get; set; }
public Command RefreshCommand { get; set; }
public Command<CipherView> CipherOptionsCommand { get; set; }
public bool LoadedOnce { get; set; }
public async Task LoadAsync()
{
@@ -134,6 +135,7 @@ namespace Bit.App.Pages
return;
}
_doingLoad = true;
LoadedOnce = true;
ShowNoData = false;
Loading = true;
ShowList = false;