mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 10:34:07 +00:00
show loading indicator if syncing an no items
This commit is contained in:
@@ -554,7 +554,7 @@ namespace Bit.App.Services
|
||||
}
|
||||
|
||||
SyncInProgress = true;
|
||||
MessagingCenter.Send(this, "SyncStarted");
|
||||
MessagingCenter.Send(Application.Current, "SyncStarted");
|
||||
}
|
||||
|
||||
private void SyncCompleted(bool successfully)
|
||||
@@ -565,7 +565,7 @@ namespace Bit.App.Services
|
||||
}
|
||||
|
||||
SyncInProgress = false;
|
||||
MessagingCenter.Send(this, "SyncCompleted", successfully);
|
||||
MessagingCenter.Send(Application.Current, "SyncCompleted", successfully);
|
||||
}
|
||||
|
||||
private bool CheckSuccess<T>(ApiResult<T> result, bool logout = false)
|
||||
|
||||
Reference in New Issue
Block a user