mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-11 08:32:41 +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:
@@ -436,6 +436,10 @@ public class DroidFish extends Activity implements GUIInterface {
|
||||
}
|
||||
}
|
||||
} else if (intentFilename != null) {
|
||||
if (intentFilename.toLowerCase(Locale.US).endsWith(".fen") ||
|
||||
intentFilename.toLowerCase(Locale.US).endsWith(".epd"))
|
||||
loadFENFromFile(intentFilename);
|
||||
else
|
||||
loadPGNFromFile(intentFilename);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user