no need to catch apiexception

This commit is contained in:
Kyle Spearrin 2019-05-31 08:18:18 -04:00
parent ff7c9f210c
commit 46e631388d

View file

@ -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);
} }