diff --git a/app/build.gradle b/app/build.gradle index dfe927a5..74bb7eb9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -39,7 +39,7 @@ dependencies { compile 'com.android.support:design:23.4.0' compile 'com.jakewharton:butterknife:8.0.1' compile 'com.github.bumptech.glide:glide:3.7.0' - compile 'com.simplemobiletools:filepicker:1.0.0@aar' + compile 'com.simplemobiletools:filepicker:1.1.0@aar' compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" apt 'com.jakewharton:butterknife-compiler:8.0.1' diff --git a/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java b/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java index 1aa5561f..fa6b01d4 100644 --- a/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java +++ b/app/src/main/java/com/simplemobiletools/filemanager/fragments/ItemsFragment.java @@ -38,7 +38,7 @@ import com.simplemobiletools.filemanager.Utils; import com.simplemobiletools.filemanager.adapters.ItemsAdapter; import com.simplemobiletools.filemanager.asynctasks.CopyTask; import com.simplemobiletools.filemanager.dialogs.PropertiesDialog; -import com.simplemobiletools.filepicker.dialogs.PickFolderDialog; +import com.simplemobiletools.filepicker.dialogs.FilePickerDialog; import com.simplemobiletools.filepicker.models.FileDirItem; import java.io.File; @@ -579,9 +579,9 @@ public class ItemsFragment extends android.support.v4.app.Fragment public void onClick(final View view) { final boolean showHiddenItems = mConfig.getShowHidden(); final boolean showFullPath = mConfig.getShowFullPath(); - new PickFolderDialog(getContext(), mCopyDestinationPath, showHiddenItems, showFullPath, new PickFolderDialog.OnPickFolderListener() { + new FilePickerDialog(getContext(), mCopyDestinationPath, false, showHiddenItems, showFullPath, new FilePickerDialog.OnFilePickerListener() { @Override - public void onFail(PickFolderDialog.PickFolderResult pickFolderResult) { + public void onFail(FilePickerDialog.FilePickerResult pickFolderResult) { }