From ad39c4d644e7832cdcac6e5fa75e05afa191e2cd Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 28 Feb 2017 23:20:23 +0100 Subject: [PATCH] do not show the "Use only in this folder" sorting checkbox if showing all media --- .../com/simplemobiletools/gallery/activities/MediaActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt index acf6519f0..0e8868295 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt @@ -145,7 +145,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { } private fun showSortingDialog() { - ChangeSortingDialog(this, false, true, mPath) { + ChangeSortingDialog(this, false, !config.showAll, mPath) { getMedia() } }