forked from upstream-mirrors/quik
Fix draft being sorted at the bottom
In some cases, if no date was set, it would get sorted to the bottom
This commit is contained in:
@@ -353,6 +353,7 @@ class ConversationRepositoryImpl @Inject constructor(
|
||||
|
||||
realm.executeTransaction {
|
||||
conversation?.takeIf { it.isValid }?.draft = draft
|
||||
conversation?.takeIf { it.isValid }?.draftDate = System.currentTimeMillis()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user