From 8bb6c50075b81f44d9fad37d4346181e1cf8e49e Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 27 Jun 2018 23:39:24 +0200 Subject: [PATCH] set grouping of Show All to Date Taken descending by default --- .../com/simplemobiletools/gallery/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index 721393926..235e28764 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -118,6 +118,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { if (!config.wasRecycleBinPinned) { config.addPinnedFolders(hashSetOf(RECYCLE_BIN)) config.wasRecycleBinPinned = true + config.saveFolderGrouping(SHOW_ALL, GROUP_BY_DATE_TAKEN or GROUP_DESCENDING) } }