mirror of
https://github.com/bitwarden/android.git
synced 2025-03-07 15:06:02 +03:00
only fetch keys if there are some orgs
This commit is contained in:
parent
70c57928e7
commit
cf58c1b4b5
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ namespace Bit.App.Services
|
|||
|
||||
private async Task SyncOrgKeysAsync(ProfileResponse profile)
|
||||
{
|
||||
if(_cryptoService.PrivateKey == null)
|
||||
if(_cryptoService.PrivateKey == null && (profile.Organizations?.Any() ?? false))
|
||||
{
|
||||
var keys = await _accountsApiRepository.GetKeys();
|
||||
if(!CheckSuccess(keys))
|
||||
|
|
Loading…
Add table
Reference in a new issue