mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
use the copy/move source path as the initial path at Other Folder option
This commit is contained in:
parent
4b104fc8d6
commit
787b7af996
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
package com.simplemobiletools.gallery.dialogs
|
package com.simplemobiletools.gallery.dialogs
|
||||||
|
|
||||||
import android.os.Environment
|
|
||||||
import android.support.v7.app.AlertDialog
|
import android.support.v7.app.AlertDialog
|
||||||
import android.support.v7.widget.RecyclerView
|
import android.support.v7.widget.RecyclerView
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
|
@ -44,9 +43,8 @@ class PickAlbumDialog(val activity: SimpleActivity, val sourcePath: String, val
|
||||||
}
|
}
|
||||||
|
|
||||||
fun showOtherFolder() {
|
fun showOtherFolder() {
|
||||||
val initialPath = Environment.getExternalStorageDirectory().toString()
|
|
||||||
val showHidden = activity.config.showHiddenFolders
|
val showHidden = activity.config.showHiddenFolders
|
||||||
FilePickerDialog(activity, initialPath, false, showHidden, true) {
|
FilePickerDialog(activity, sourcePath, false, showHidden, true) {
|
||||||
callback.invoke(it)
|
callback.invoke(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue