mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Do not return null from IosProject.isSwift (#33450)
This commit is contained in:
parent
8e3e0a89f4
commit
f9e28e7df7
@ -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.
|
||||
///
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user