mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-27 19:06:23 +02:00
Hopefully fix File Picker
This commit is contained in:
parent
37020a5026
commit
ccdb8b76a8
2 changed files with 6 additions and 1 deletions
Binary file not shown.
|
@ -8,8 +8,13 @@
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import UIKit
|
import UIKit
|
||||||
import CryptoKit
|
import CryptoKit
|
||||||
|
import UniformTypeIdentifiers
|
||||||
|
|
||||||
|
extension UIDocumentPickerViewController {
|
||||||
|
@objc func fix_init(forOpeningContentTypes contentTypes: [UTType], asCopy: Bool) -> UIDocumentPickerViewController {
|
||||||
|
return fix_init(forOpeningContentTypes: contentTypes, asCopy: true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@main
|
@main
|
||||||
struct MeloNXApp: App {
|
struct MeloNXApp: App {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue