mirror of
https://github.com/bitwarden/android.git
synced 2024-12-20 00:02:58 +03:00
remove old sync helper for removing ciphers (was for inc syncing)
This commit is contained in:
parent
0cd09cf03a
commit
2d605f5dfb
1 changed files with 0 additions and 16 deletions
|
@ -294,22 +294,6 @@ namespace Bit.App.Services
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task DeleteCiphersAsync(IEnumerable<string> cipherIds)
|
|
||||||
{
|
|
||||||
var tasks = new List<Task>();
|
|
||||||
foreach(var cipherId in cipherIds)
|
|
||||||
{
|
|
||||||
if(!_authService.IsAuthenticated)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.Add(_loginRepository.DeleteAsync(cipherId));
|
|
||||||
tasks.Add(_folderRepository.DeleteAsync(cipherId));
|
|
||||||
}
|
|
||||||
await Task.WhenAll(tasks).ConfigureAwait(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void SyncStarted()
|
private void SyncStarted()
|
||||||
{
|
{
|
||||||
if(Application.Current == null)
|
if(Application.Current == null)
|
||||||
|
|
Loading…
Reference in a new issue