Skip to content

Commit d687c66

Browse files
theeketIsarameth
andauthored
Fix Mac Catalyst build issue (#685)
* Fix Mac Catalyst build issue * commit changelog --------- Co-authored-by: Isarameth <isarameth139@gmail.com>
1 parent 7fc2062 commit d687c66

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
- **Web**: Fixed detached/form sheet autopresent animation, scrollable content, footer click, and grabber drag interactions. ([#684](https://github.com/lodev09/react-native-true-sheet/pull/684) by [@lodev09](https://github.com/lodev09))
1212

13+
- **iOS**: Fixed Mac Catalyst build issue. ([#685](https://github.com/lodev09/react-native-true-sheet/pull/685) by [@theeket](https://github.com/theeket))
14+
1315
### ⚠️ Breaking
1416

1517
- Renamed `pageSizing: boolean` to `presentation: 'page' | 'form'` (default `'page'`). `presentation='form'` is absolute and ignores `maxContentWidth`. Migration: `pageSizing={true}``presentation='page'` (default); `pageSizing={false}``presentation='form'`. ([#680](https://github.com/lodev09/react-native-true-sheet/pull/680) by [@lodev09](https://github.com/lodev09))

ios/TrueSheetViewController.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ - (void)setupBackground {
739739
_blurView.blurInteraction = self.blurInteraction;
740740
[_blurView applyBlurEffect];
741741

742-
#if RNTS_IPHONE_OS_VERSION_AVAILABLE(26_1)
742+
#if RNTS_IPHONE_OS_VERSION_AVAILABLE(26_1) && !TARGET_OS_MACCATALYST
743743
if (@available(iOS 26.1, *)) {
744744
if (!self.isDesignCompatibilityMode) {
745745
if (self.backgroundColor) {

0 commit comments

Comments
 (0)