fix: Display sync indicator when trashing items

This commit is contained in:
Artem Chepurnoy 2024-03-09 09:10:07 +02:00
parent a24d7470b4
commit 1771291582
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ suspend fun BitwardenCipher.toDomain(
favorite = favorite,
reprompt = reprompt == BitwardenCipher.RepromptType.Password,
synced = !service.deleted &&
revisionDate == service.remote?.revisionDate,
revisionDate == service.remote?.revisionDate &&
deletedDate == service.remote.deletedDate,
ignoredAlerts = ignoredAlerts,
uris = login?.uris.orEmpty().map(BitwardenCipher.Login.Uri::toDomain),
fields = fields.map(BitwardenCipher.Field::toDomain),