diff --git a/src/App/App.xaml.cs b/src/App/App.xaml.cs index 699ddac3e..accf394c0 100644 --- a/src/App/App.xaml.cs +++ b/src/App/App.xaml.cs @@ -367,7 +367,7 @@ namespace Bit.App Task.Run(async () => { var lastSync = await _syncService.GetLastSyncAsync(); - if(DateTime.UtcNow - lastSync > TimeSpan.FromMinutes(30)) + if(lastSync == null || ((DateTime.UtcNow - lastSync) > TimeSpan.FromMinutes(30))) { await _syncService.FullSyncAsync(false); }