1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-31 07:13:00 +00:00

Merge pull request #2591 from kapodamy/allow-pick-hidden-folders

show hidden directories in the file picker
This commit is contained in:
Tobias Groza
2019-09-04 22:56:05 +02:00
committed by GitHub

View File

@@ -115,6 +115,12 @@ public class FilePickerActivityHelper extends com.nononsenseapps.filepicker.File
super.onClickOk(view);
}
@Override
protected boolean isItemVisible(@NonNull File file) {
if (file.isDirectory() && file.isHidden()) return true;
return super.isItemVisible(file);
}
public File getBackTop() {
if (getArguments() == null) return Environment.getExternalStorageDirectory();