Do not return null from IosProject.isSwift (#33450)

This commit is contained in:
Jason Simmons 2019-05-28 14:27:38 -07:00 committed by GitHub
parent 8e3e0a89f4
commit f9e28e7df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,7 @@ class IosProject {
}
/// True, if the host app project is using Swift.
bool get isSwift => buildSettings?.containsKey('SWIFT_VERSION');
bool get isSwift => buildSettings?.containsKey('SWIFT_VERSION') ?? false;
/// The build settings for the host app of this project, as a detached map.
///