UIApplicationLaunchOptionsKey -> UIApplication.LaunchOptionsKey (#35763)

This commit is contained in:
Jenn Magder
2019-07-08 16:55:27 -07:00
committed by GitHub
parent e3acb5ca71
commit 559c9982dd
5 changed files with 9 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ import Flutter
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)

View File

@@ -245,7 +245,7 @@ void main() {
final FlutterProject project = await someProject();
when(mockXcodeProjectInterpreter.getBuildSettings(any, any)).thenReturn(<String, String>{
'SWIFT_VERSION': '3.0',
'SWIFT_VERSION': '4.0',
});
addAndroidGradleFile(project.directory,
gradleFileContent: () {