Android: Compress an if statement in FolderBrowser
This commit is contained in:
parent
d8b673e864
commit
4fe8bb1ca7
|
@ -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…
Reference in New Issue