mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 14:15:16 +01: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…
Reference in New Issue
Block a user