use the copy/move source path as the initial path at Other Folder option

This commit is contained in:
tibbi 2017-02-28 22:13:33 +01:00
parent 4b104fc8d6
commit 787b7af996

View File

@ -1,6 +1,5 @@
package com.simplemobiletools.gallery.dialogs
import android.os.Environment
import android.support.v7.app.AlertDialog
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
@ -44,9 +43,8 @@ class PickAlbumDialog(val activity: SimpleActivity, val sourcePath: String, val
}
fun showOtherFolder() {
val initialPath = Environment.getExternalStorageDirectory().toString()
val showHidden = activity.config.showHiddenFolders
FilePickerDialog(activity, initialPath, false, showHidden, true) {
FilePickerDialog(activity, sourcePath, false, showHidden, true) {
callback.invoke(it)
}
}