Fix sorting notes in loading state (#1413)

This commit is contained in:
Mikołaj Pich
2021-07-31 18:08:35 +02:00
committed by GitHub
parent e1c1f305c4
commit f6f3447f1d
2 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class NotePresenter @Inject constructor(
showRefresh(true)
showProgress(false)
showContent(true)
updateData(it.data)
updateData(it.data.sortedByDescending { item -> item.date })
}
}
}