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 cee9d0d83..691df62ca 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -786,7 +786,8 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { try { config.everShownFolders = everShownFolders - } catch (ignored: Exception) { + } catch (e: Exception) { + config.everShownFolders = HashSet() } }