1
0
mirror of https://github.com/etesync/android synced 2025-02-22 04:22:11 +00:00

Remove wrong not-null assertion.

This commit is contained in:
Tom Hacohen 2019-03-06 18:30:36 +00:00
parent db8667e84a
commit 7eee04f458

View File

@ -417,7 +417,7 @@ constructor(protected val context: Context, protected val account: Account, prot
for (local in localDeleted!!) {
val entry = SyncEntry(local.content, SyncEntry.Actions.DELETE)
val tmp = JournalEntryManager.Entry()
tmp.update(crypto, entry.toJson(), previousEntry!!)
tmp.update(crypto, entry.toJson(), previousEntry)
previousEntry = tmp
localEntries!!.add(previousEntry)