diff --git a/src/App/App.xaml.cs b/src/App/App.xaml.cs index e75f711dc..44c6531f8 100644 --- a/src/App/App.xaml.cs +++ b/src/App/App.xaml.cs @@ -97,7 +97,7 @@ namespace Bit.App { if (Device.RuntimePlatform == Device.iOS) { - ResumedAsync(); + ResumedAsync().FireAndForget(); } } else if (message.Command == "slept") @@ -205,7 +205,7 @@ namespace Bit.App _isResumed = true; if (Device.RuntimePlatform == Device.Android) { - ResumedAsync(); + ResumedAsync().FireAndForget(); } } @@ -215,12 +215,11 @@ namespace Bit.App _messagingService.Send("stopEventTimer"); } - private async void ResumedAsync() + private async Task ResumedAsync() { - await UpdateThemeAsync(); - await _vaultTimeoutService.CheckVaultTimeoutAsync(); _messagingService.Send("startEventTimer"); + await UpdateThemeAsync(); await ClearCacheIfNeededAsync(); Prime(); SyncIfNeeded();