mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 10:28:28 +03:00
delay for 1s on SyncIfNeeded
This commit is contained in:
parent
325b557506
commit
c9d6f58563
2 changed files with 1 additions and 12 deletions
|
@ -369,6 +369,7 @@ namespace Bit.App
|
||||||
var lastSync = await _syncService.GetLastSyncAsync();
|
var lastSync = await _syncService.GetLastSyncAsync();
|
||||||
if(lastSync == null || ((DateTime.UtcNow - lastSync) > TimeSpan.FromMinutes(30)))
|
if(lastSync == null || ((DateTime.UtcNow - lastSync) > TimeSpan.FromMinutes(30)))
|
||||||
{
|
{
|
||||||
|
await Task.Delay(1000);
|
||||||
await _syncService.FullSyncAsync(false);
|
await _syncService.FullSyncAsync(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -181,24 +181,12 @@
|
||||||
<Project>{4b8a8c41-9820-4341-974c-41e65b7f4366}</Project>
|
<Project>{4b8a8c41-9820-4341-974c-41e65b7f4366}</Project>
|
||||||
<Name>Core</Name>
|
<Name>Core</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\iOS.Autofill\iOS.Autofill.csproj">
|
|
||||||
<Project>{8a3ecd75-3ec8-4cb3-b3a2-a73a724c279a}</Project>
|
|
||||||
<Name>iOS.Autofill</Name>
|
|
||||||
<IsAppExtension>true</IsAppExtension>
|
|
||||||
<IsWatchApp>false</IsWatchApp>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="..\iOS.Core\iOS.Core.csproj">
|
<ProjectReference Include="..\iOS.Core\iOS.Core.csproj">
|
||||||
<Project>{e71f3053-056c-4381-9638-048ed73bdff6}</Project>
|
<Project>{e71f3053-056c-4381-9638-048ed73bdff6}</Project>
|
||||||
<Name>iOS.Core</Name>
|
<Name>iOS.Core</Name>
|
||||||
<IsAppExtension>false</IsAppExtension>
|
<IsAppExtension>false</IsAppExtension>
|
||||||
<IsWatchApp>false</IsWatchApp>
|
<IsWatchApp>false</IsWatchApp>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\iOS.Extension\iOS.Extension.csproj">
|
|
||||||
<Project>{324be76c-38fa-4f11-8bb1-95c7b3b1b545}</Project>
|
|
||||||
<Name>iOS.Extension</Name>
|
|
||||||
<IsAppExtension>true</IsAppExtension>
|
|
||||||
<IsWatchApp>false</IsWatchApp>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BundleResource Include="Resources\autofill-kb.png" />
|
<BundleResource Include="Resources\autofill-kb.png" />
|
||||||
|
|
Loading…
Reference in a new issue