mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 12:38:05 +07:00
Fixed #7277
This commit is contained in:
parent
b7948852b3
commit
6f23fdf195
@ -143,11 +143,8 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
||||
Log.info("Attempting to share file " + file);
|
||||
List<Object> 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();
|
||||
|
Loading…
Reference in New Issue
Block a user