From 6f23fdf195cdac68823a10d5f5c780587b722e62 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 3 Aug 2022 08:29:47 -0400 Subject: [PATCH] Fixed #7277 --- ios/src/mindustry/ios/IOSLauncher.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ios/src/mindustry/ios/IOSLauncher.java b/ios/src/mindustry/ios/IOSLauncher.java index fa12ea0e48..7faab63ec0 100644 --- a/ios/src/mindustry/ios/IOSLauncher.java +++ b/ios/src/mindustry/ios/IOSLauncher.java @@ -143,11 +143,8 @@ public class IOSLauncher extends IOSApplication.Delegate{ Log.info("Attempting to share file " + file); List list = new ArrayList<>(); - list.add(file.name()); - list.add(NSData.read(file.file())); - //better choice? - //list.add(new NSURL(file.file())); + list.add(new NSURL(file.file())); UIActivityViewController p = new UIActivityViewController(list, null); UIViewController rootVc = UIApplication.getSharedApplication().getKeyWindow().getRootViewController();