Skip to content

Commit

Permalink
Deprecate RCTGetMultiplierForContentSizeCategory (#39643)
Browse files Browse the repository at this point in the history
Summary:
Per #39617 (comment) , let's deprecate this method first.
bypass-github-export-checks

## Changelog:

[IOS] [DEPRECATED] - Deprecate RCTGetMultiplierForContentSizeCategory

Pull Request resolved: #39643

Test Plan: CI should pass

Reviewed By: dmytrorykun

Differential Revision: D49637172

Pulled By: cipolleschi

fbshipit-source-id: 20dc70c737ef51efd5a5aa38832fb47b5d49e641
  • Loading branch information
Saadnajmi authored and facebook-github-bot committed Oct 3, 2023
1 parent c7c7831 commit f174f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/React/UIUtils/RCTUIUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern __attribute__((visibility("default"))) RCTDimensions RCTGetDimensions(CGF

// Get font size multiplier for font base size (Large) by content size category
extern __attribute__((visibility("default"))) CGFloat RCTGetMultiplierForContentSizeCategory(
UIContentSizeCategory category);
UIContentSizeCategory category) __deprecated;

#ifdef __cplusplus
}
Expand Down

0 comments on commit f174f02

Please sign in to comment.