mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-04 08:50:18 +01:00
fixes to cipher service
This commit is contained in:
parent
a236d7fbb1
commit
68c6537bcb
@ -38,7 +38,7 @@
|
||||
Text="{u:I18n Name}"
|
||||
StyleClass="box-label" />
|
||||
<Entry
|
||||
Text="{Binding Cipher.Name, Mode=OneWay}"
|
||||
Text="{Binding Cipher.Name}"
|
||||
StyleClass="box-value" />
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
|
@ -65,7 +65,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
if(value == null)
|
||||
{
|
||||
_decryptedCipherCache.Clear();
|
||||
_decryptedCipherCache?.Clear();
|
||||
}
|
||||
_decryptedCipherCache = value;
|
||||
if(_searchService != null)
|
||||
@ -120,7 +120,7 @@ namespace Bit.Core.Services
|
||||
}
|
||||
else
|
||||
{
|
||||
model.Login.PasswordRevisionDate = DateTime.UtcNow;
|
||||
model.Login.PasswordRevisionDate = existingCipher.Login.PasswordRevisionDate;
|
||||
}
|
||||
}
|
||||
if(existingCipher.HasFields)
|
||||
@ -951,6 +951,7 @@ namespace Bit.Core.Services
|
||||
if(!attachmentsModel?.Any() ?? true)
|
||||
{
|
||||
cipher.Attachments = null;
|
||||
return;
|
||||
}
|
||||
var tasks = new List<Task>();
|
||||
var encAttachments = new List<Attachment>();
|
||||
@ -1098,6 +1099,7 @@ namespace Bit.Core.Services
|
||||
if(!phModels?.Any() ?? true)
|
||||
{
|
||||
cipher.PasswordHistory = null;
|
||||
return;
|
||||
}
|
||||
var tasks = new List<Task>();
|
||||
var encPhs = new List<PasswordHistory>();
|
||||
|
Loading…
Reference in New Issue
Block a user