diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt index eb3b8bf09..318f98c91 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/asynctasks/GetDirectoriesAsynctask.kt @@ -90,10 +90,6 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va listener?.gotDirectories(dirs) } - interface GetDirectoriesListener { - fun gotDirectories(dirs: ArrayList) - } - // sort the files at querying too, just to get the correct thumbnail private fun getSortOrder(): String { val sorting = mConfig.directorySorting @@ -140,4 +136,8 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va dirs.removeAll(ignoreDirs) } + + interface GetDirectoriesListener { + fun gotDirectories(dirs: ArrayList) + } }