mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
Update revision date from server on restore (#1211)
This commit is contained in:
@@ -760,8 +760,9 @@ namespace Bit.Core.Services
|
||||
{
|
||||
return;
|
||||
}
|
||||
await _apiService.PutRestoreCipherAsync(id);
|
||||
var response = await _apiService.PutRestoreCipherAsync(id);
|
||||
ciphers[id].DeletedDate = null;
|
||||
ciphers[id].RevisionDate = response.RevisionDate;
|
||||
await _storageService.SaveAsync(cipherKey, ciphers);
|
||||
await ClearCacheAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user