mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 19:12:45 +01:00
Merge pull request #2591 from kapodamy/allow-pick-hidden-folders
show hidden directories in the file picker
This commit is contained in:
commit
ede18ded40
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user