[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…
Reference in New Issue