1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

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()
{
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);
}