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