mirror of
https://github.com/libretro/RetroArch
synced 2025-01-18 04:12:07 +00:00
[Android] Simplify conditional statement within DirectoryActivity.java. This is already checked through the allowFile variable. So if that is true, then it's sensible to assume this is true as well.
This commit is contained in:
parent
4718bc63af
commit
0d869aa768
@ -222,8 +222,7 @@ public class DirectoryActivity extends Activity implements
|
||||
boolean allowFile = file.isDirectory() || (filterPath(path) && !isDirectoryTarget);
|
||||
|
||||
if (allowFile)
|
||||
adapter.add(new FileWrapper(file, FileWrapper.FILE,
|
||||
file.isDirectory() || true));
|
||||
adapter.add(new FileWrapper(file, FileWrapper.FILE, true));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user