mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 14:28:51 +00:00
Tidying up add-to-app samples (#160)
This commit is contained in:
@@ -16,7 +16,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
// Instantiate Flutter engine
|
||||
self.flutterEngine = FlutterEngine(name: "io.flutter", project: nil)
|
||||
self.flutterEngine?.run(withEntrypoint: nil)
|
||||
GeneratedPluginRegistrant.register(with: self.flutterEngine)
|
||||
GeneratedPluginRegistrant.register(with: self.flutterEngine!)
|
||||
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user