mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Merge pull request #313 from lioncash/master
[Android] Simplify conditional statement within DirectoryActivity.java
This commit is contained in:
commit
928cba0211
@ -222,8 +222,7 @@ public class DirectoryActivity extends Activity implements
|
|||||||
boolean allowFile = file.isDirectory() || (filterPath(path) && !isDirectoryTarget);
|
boolean allowFile = file.isDirectory() || (filterPath(path) && !isDirectoryTarget);
|
||||||
|
|
||||||
if (allowFile)
|
if (allowFile)
|
||||||
adapter.add(new FileWrapper(file, FileWrapper.FILE,
|
adapter.add(new FileWrapper(file, FileWrapper.FILE, true));
|
||||||
file.isDirectory() || true));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user