[ReactNative] Fix variable shadowing in RCTText
This commit is contained in:
parent
5372061f21
commit
bec7d0202c
|
@ -62,8 +62,8 @@
|
||||||
|
|
||||||
_layoutManager = layoutManager;
|
_layoutManager = layoutManager;
|
||||||
|
|
||||||
for (NSLayoutManager *layoutManager in _textStorage.layoutManagers) {
|
for (NSLayoutManager *existingLayoutManager in _textStorage.layoutManagers) {
|
||||||
[_textStorage removeLayoutManager:layoutManager];
|
[_textStorage removeLayoutManager:existingLayoutManager];
|
||||||
}
|
}
|
||||||
[_textStorage addLayoutManager:_layoutManager];
|
[_textStorage addLayoutManager:_layoutManager];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue