Enable use_if_null_to_convert_nulls_to_bools lint (#98753)
This commit is contained in:
@@ -230,7 +230,7 @@ class IosProject extends XcodeBasedProject {
|
||||
// https://flutter.dev/docs/deployment/ios#review-xcode-project-settings
|
||||
// The only source of truth for the name is Xcode's interpretation of the build settings.
|
||||
String? productName;
|
||||
if (globals.xcodeProjectInterpreter?.isInstalled == true) {
|
||||
if (globals.xcodeProjectInterpreter?.isInstalled ?? false) {
|
||||
final Map<String, String>? xcodeBuildSettings = await buildSettingsForBuildInfo(buildInfo);
|
||||
if (xcodeBuildSettings != null) {
|
||||
productName = xcodeBuildSettings['FULL_PRODUCT_NAME'];
|
||||
|
||||
Reference in New Issue
Block a user