diff --git a/.gitignore b/.gitignore index 3709487b..cd5ff714 100644 --- a/.gitignore +++ b/.gitignore @@ -118,3 +118,4 @@ Thumbs.db app/src/release/agconnect-services.json app/src/release/agconnect-credentials.json +.idea/deploymentTargetDropDown.xml diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/note/NotePresenter.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/note/NotePresenter.kt index e80f5494..c441231e 100644 --- a/app/src/main/java/io/github/wulkanowy/ui/modules/note/NotePresenter.kt +++ b/app/src/main/java/io/github/wulkanowy/ui/modules/note/NotePresenter.kt @@ -67,7 +67,7 @@ class NotePresenter @Inject constructor( showRefresh(true) showProgress(false) showContent(true) - updateData(it.data) + updateData(it.data.sortedByDescending { item -> item.date }) } } }