File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/react-native/ReactCommon/react/renderer/attributedstring Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -176,13 +176,13 @@ bool TextAttributes::operator==(const TextAttributes& rhs) const {
176
176
177
177
TextAttributes TextAttributes::defaultTextAttributes () {
178
178
static auto textAttributes = [] {
179
- auto textAttributes = TextAttributes{};
179
+ auto defaultAttrs = TextAttributes{};
180
180
// Non-obvious (can be different among platforms) default text attributes.
181
- textAttributes .foregroundColor = blackColor ();
182
- textAttributes .backgroundColor = clearColor ();
183
- textAttributes .fontSize = 14.0 ;
184
- textAttributes .fontSizeMultiplier = 1.0 ;
185
- return textAttributes ;
181
+ defaultAttrs .foregroundColor = blackColor ();
182
+ defaultAttrs .backgroundColor = clearColor ();
183
+ defaultAttrs .fontSize = 14.0 ;
184
+ defaultAttrs .fontSizeMultiplier = 1.0 ;
185
+ return defaultAttrs ;
186
186
}();
187
187
return textAttributes;
188
188
}
You can’t perform that action at this time.
0 commit comments