[ReactNative] Fix variable shadowing in RCTText

This commit is contained in:
Tadeu Zagallo 2015-04-07 13:43:08 -07:00
parent 5372061f21
commit bec7d0202c
1 changed files with 2 additions and 2 deletions

View File

@ -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];