Skip to content

Commit

Permalink
Fix for footer in lansdcape mode in iOS (#867)
Browse files Browse the repository at this point in the history
If we set only height it fixes the landscape mode
  • Loading branch information
vegaro authored Jan 24, 2024
1 parent e967c3c commit 5a11d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-native-purchases-ui/ios/RCPaywallFooterViewManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ - (void)safeAreaInsetsDidChange {
}

- (void)paywallViewController:(RCPaywallViewController *)controller didChangeSizeTo:(CGSize)size API_AVAILABLE(ios(15.0)){
[_bridge.uiManager setSize:size forView:self];
[_bridge.uiManager setIntrinsicContentSize:CGSizeMake(UIViewNoIntrinsicMetric, size.height) forView:self];
}

@end
Expand Down

0 comments on commit 5a11d7b

Please sign in to comment.