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