This commit is contained in:
Leon Böttger committed 2025-10-05 14:01:37 +02:00
1 parent 86afa8a206
commit 1b1206d0b8
1 file changed
+2 -6
+2 -6
View File
@@ -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