mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 19:11:10 +00:00
Comments
This commit is contained in:
1 parent
86afa8a206
commit
1b1206d0b8
1 file changed
+2
-6
@@ -31,12 +31,8 @@ class ShareViewController: UIViewController {
|
||||
// skip introduction for share extension
|
||||
LUIInit(configuration: configuration)
|
||||
LUISettings.sharedInstance.appLaunchedBefore = true
|
||||
|
||||
// Replace with your app’s SwiftUI entry view
|
||||
let contentView = ContentView()
|
||||
|
||||
// Embed SwiftUI inside the extension’s controller
|
||||
let hostingController = UIHostingController(rootView: contentView)
|
||||
|
||||
let hostingController = UIHostingController(rootView: ContentView())
|
||||
|
||||
addChild(hostingController)
|
||||
hostingController.view.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
||||
Reference in new issue
Block a user