This commit is contained in:
Anuken
2019-09-06 15:20:30 -04:00
parent 24bb2428e7
commit 9b6fb2f382
2 changed files with 2 additions and 3 deletions

View File

@@ -42,7 +42,8 @@ public class IOSLauncher extends IOSApplication.Delegate{
@Override
public void showFileChooser(String text, String content, Consumer<FileHandle> cons, boolean open, Predicate<String> filetype){
UIDocumentBrowserViewController cont = new UIDocumentBrowserViewController();
UIDocumentBrowserViewController cont = new UIDocumentBrowserViewController(NSArray.fromStrings("public.archive"));
cont.setAllowsDocumentCreation(false);
cont.setDelegate(new UIDocumentBrowserViewControllerDelegate(){
@Override