mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 18:25:06 +00:00
[ReactNative] Fix variable shadowing in RCTText
This commit is contained in:
parent
5372061f21
commit
bec7d0202c
@ -62,8 +62,8 @@
|
||||
|
||||
_layoutManager = layoutManager;
|
||||
|
||||
for (NSLayoutManager *layoutManager in _textStorage.layoutManagers) {
|
||||
[_textStorage removeLayoutManager:layoutManager];
|
||||
for (NSLayoutManager *existingLayoutManager in _textStorage.layoutManagers) {
|
||||
[_textStorage removeLayoutManager:existingLayoutManager];
|
||||
}
|
||||
[_textStorage addLayoutManager:_layoutManager];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user