Skip to content

Commit

Permalink
Fixes missing char mode of linebreakmode (#46941)
Browse files Browse the repository at this point in the history
Summary:
cipolleschi , Fixes missing char mode of linebreakmode.

## Changelog:

[IOS] [FIXED] - Fixes missing char mode of linebreakmode

Pull Request resolved: #46941

Test Plan: char mode works.

Reviewed By: cipolleschi

Differential Revision: D64166107

Pulled By: javache

fbshipit-source-id: 1b1a5c603652e1d3bc9f7a32039fab4de7f59627
  • Loading branch information
zhongwuzw authored and facebook-github-bot committed Oct 10, 2024
1 parent 0d6908f commit 77889af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native/React/Base/RCTConvert.mm
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ + (NSLocale *)NSLocale:(id)json
@"tail" : @(NSLineBreakByTruncatingTail),
@"middle" : @(NSLineBreakByTruncatingMiddle),
@"wordWrapping" : @(NSLineBreakByWordWrapping),
@"char" : @(NSLineBreakByCharWrapping),
}),
NSLineBreakByTruncatingTail,
integerValue)
Expand Down

0 comments on commit 77889af

Please sign in to comment.