mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
no need to catch apiexception
This commit is contained in:
parent
ff7c9f210c
commit
46e631388d
1 changed files with 1 additions and 5 deletions
|
@ -269,11 +269,7 @@ namespace Bit.App.Pages
|
|||
public async Task SyncAsync()
|
||||
{
|
||||
await _deviceActionService.ShowLoadingAsync(AppResources.Syncing);
|
||||
try
|
||||
{
|
||||
await _syncService.FullSyncAsync(false);
|
||||
}
|
||||
catch(ApiException) { }
|
||||
await _syncService.FullSyncAsync(false);
|
||||
await _deviceActionService.HideLoadingAsync();
|
||||
_platformUtilsService.ShowToast("success", null, AppResources.SyncingComplete);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue