From c9d6f58563c6cc435fdd6fb42bdeb1e32befff01 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 12 Aug 2019 09:35:18 -0400 Subject: [PATCH] delay for 1s on SyncIfNeeded --- src/App/App.xaml.cs | 1 + src/iOS/iOS.csproj | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/App/App.xaml.cs b/src/App/App.xaml.cs index accf394c0..d84009547 100644 --- a/src/App/App.xaml.cs +++ b/src/App/App.xaml.cs @@ -369,6 +369,7 @@ namespace Bit.App var lastSync = await _syncService.GetLastSyncAsync(); if(lastSync == null || ((DateTime.UtcNow - lastSync) > TimeSpan.FromMinutes(30))) { + await Task.Delay(1000); await _syncService.FullSyncAsync(false); } }); diff --git a/src/iOS/iOS.csproj b/src/iOS/iOS.csproj index a02a40b84..c3cfd8aff 100644 --- a/src/iOS/iOS.csproj +++ b/src/iOS/iOS.csproj @@ -181,24 +181,12 @@ {4b8a8c41-9820-4341-974c-41e65b7f4366} Core - - {8a3ecd75-3ec8-4cb3-b3a2-a73a724c279a} - iOS.Autofill - true - false - {e71f3053-056c-4381-9638-048ed73bdff6} iOS.Core false false - - {324be76c-38fa-4f11-8bb1-95c7b3b1b545} - iOS.Extension - true - false -