Skip to content

Commit

Permalink
Update deletion criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
VishalNehra committed Aug 28, 2023
1 parent 0c673b6 commit 3ba19e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trashbin/src/main/java/com/amaze/trashbin/TrashBin.kt
Expand Up @@ -118,7 +118,7 @@ class TrashBin constructor(
Log.w(javaClass.simpleName, "Failed to move to bin " + it.path)
}
}
filesMetadata.sortBy {
filesMetadata.sortedByDescending {
trashBinFile ->
trashBinFile.deleteTime
}
Expand Down

0 comments on commit 3ba19e2

Please sign in to comment.