1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-09-19 20:29:08 -05:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -118,3 +118,4 @@ Thumbs.db
app/src/release/agconnect-services.json
app/src/release/agconnect-credentials.json
.idea/deploymentTargetDropDown.xml

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 })
}
}
}