mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 21:33:36 +00:00
no need to catch apiexception
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user