Skip to content

Commit 277a923

Browse files
committed
chore: hardcode the supportsPHPicker() name to fix CI warnings
1 parent cf0f045 commit 277a923

File tree

1 file changed

+3
-3
lines changed
  • packages/image_picker/image_picker_macos/macos/image_picker_macos/Sources/image_picker_macos

1 file changed

+3
-3
lines changed

packages/image_picker/image_picker_macos/macos/image_picker_macos/Sources/image_picker_macos/ImagePickerImpl.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ImagePickerImpl: NSObject, ImagePickerApi {
3737
PigeonError(
3838
code: "UNSUPPORTED_PHPICKER",
3939
message:
40-
"PHPicker is only supported on macOS 13.0 or newer. Use \(supportsPHPicker) to check.",
40+
"PHPicker is only supported on macOS 13.0 or newer. Use `supportsPHPicker()` to check.",
4141
details: nil)))
4242
return
4343
}
@@ -74,7 +74,7 @@ class ImagePickerImpl: NSObject, ImagePickerApi {
7474
PigeonError(
7575
code: "UNSUPPORTED_PHPICKER",
7676
message:
77-
"PHPicker is only supported on macOS 13.0 or newer. Use \(supportsPHPicker) to check.",
77+
"PHPicker is only supported on macOS 13.0 or newer. Use `supportsPHPicker()` to check.",
7878
details: nil)))
7979
return
8080
}
@@ -117,7 +117,7 @@ class ImagePickerImpl: NSObject, ImagePickerApi {
117117
PigeonError(
118118
code: "UNSUPPORTED_PHPICKER",
119119
message:
120-
"PHPicker is only supported on macOS 13.0 or newer. Use \(supportsPHPicker) to check.",
120+
"PHPicker is only supported on macOS 13.0 or newer. Use `supportsPHPicker()` to check.",
121121
details: nil)))
122122
return
123123
}

0 commit comments

Comments
 (0)