mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +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()
|
public async Task SyncAsync()
|
||||||
{
|
{
|
||||||
await _deviceActionService.ShowLoadingAsync(AppResources.Syncing);
|
await _deviceActionService.ShowLoadingAsync(AppResources.Syncing);
|
||||||
try
|
|
||||||
{
|
|
||||||
await _syncService.FullSyncAsync(false);
|
await _syncService.FullSyncAsync(false);
|
||||||
}
|
|
||||||
catch(ApiException) { }
|
|
||||||
await _deviceActionService.HideLoadingAsync();
|
await _deviceActionService.HideLoadingAsync();
|
||||||
_platformUtilsService.ShowToast("success", null, AppResources.SyncingComplete);
|
_platformUtilsService.ShowToast("success", null, AppResources.SyncingComplete);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue