mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-04-02 10:20:45 +02:00
DroidFish: Made it possible to open .fen and .epd files in DroidFish from a file manager such as AndroZip.
This commit is contained in:
parent
fc089a03bd
commit
d26b15c656
@ -436,7 +436,11 @@ public class DroidFish extends Activity implements GUIInterface {
|
||||
}
|
||||
}
|
||||
} else if (intentFilename != null) {
|
||||
loadPGNFromFile(intentFilename);
|
||||
if (intentFilename.toLowerCase(Locale.US).endsWith(".fen") ||
|
||||
intentFilename.toLowerCase(Locale.US).endsWith(".epd"))
|
||||
loadFENFromFile(intentFilename);
|
||||
else
|
||||
loadPGNFromFile(intentFilename);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user