From dcf72ff88ca345d8fb2a87d99cdacf9a46769494 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sat, 17 Nov 2018 01:52:49 -0800 Subject: [PATCH] Change font size default from 12 to 14 Summary: trivial change of the default font size from 12 to 14 to make it backward compatible with current version of RN Reviewed By: shergin Differential Revision: D13108543 fbshipit-source-id: e5e384c4459f2c87ee9589c4e00a0ab5d0c8a06a --- ReactCommon/fabric/attributedstring/TextAttributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/fabric/attributedstring/TextAttributes.cpp b/ReactCommon/fabric/attributedstring/TextAttributes.cpp index 95f0940e30f..480dd012eb4 100644 --- a/ReactCommon/fabric/attributedstring/TextAttributes.cpp +++ b/ReactCommon/fabric/attributedstring/TextAttributes.cpp @@ -158,7 +158,7 @@ TextAttributes TextAttributes::defaultTextAttributes() { // Non-obvious (can be different among platforms) default text attributes. textAttributes.foregroundColor = blackColor(); textAttributes.backgroundColor = clearColor(); - textAttributes.fontSize = 12.0; + textAttributes.fontSize = 14.0; return textAttributes; }(); return textAttributes;