mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-26 01:50:32 +00:00
show hidden directories in the file picker
This commit is contained in:
parent
85d1888ba7
commit
7f127ba52a
@ -115,6 +115,12 @@ public class FilePickerActivityHelper extends com.nononsenseapps.filepicker.File
|
|||||||
super.onClickOk(view);
|
super.onClickOk(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean isItemVisible(File file) {
|
||||||
|
if (file.isDirectory() && file.isHidden()) return true;
|
||||||
|
return super.isItemVisible(file);
|
||||||
|
}
|
||||||
|
|
||||||
public File getBackTop() {
|
public File getBackTop() {
|
||||||
if (getArguments() == null) return Environment.getExternalStorageDirectory();
|
if (getArguments() == null) return Environment.getExternalStorageDirectory();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user