mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Android: Compress an if statement in FolderBrowser
This commit is contained in:
parent
d8b673e864
commit
4fe8bb1ca7
1 changed files with 1 additions and 8 deletions
|
@ -144,14 +144,7 @@ public final class FolderBrowser extends ListFragment
|
||||||
{
|
{
|
||||||
String isoPath = NativeLibrary.GetConfig("Dolphin.ini", "General", "ISOPath" + i, "");
|
String isoPath = NativeLibrary.GetConfig("Dolphin.ini", "General", "ISOPath" + i, "");
|
||||||
|
|
||||||
if (isoPath.equals(currentDir.getPath()))
|
pathNotPresent = !isoPath.equals(currentDir.getPath());
|
||||||
{
|
|
||||||
pathNotPresent = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
pathNotPresent = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// User doesn't have this path in the config, so add it.
|
// User doesn't have this path in the config, so add it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue