Samuel Susla
36b586ada1
Font size in Text now respects preferredContentSizeCategory
...
Summary:
Changelog: [Internal]
Add support for dynamic font size.
New class `ThreadStorage` is introduced, which is used to pass LayoutContext to `YogaLayoutableShadowNode::yogaNodeMeasureCallbackConnector`.
## Shortcoming
This implementation doesn't cause re-render, if user changes font size and comes to the app without restarting it, it will show old font size. I believe this is fine for now as most people set their font size before they use the app and keep the same setting for a long time.
Reviewed By: shergin
Differential Revision: D22043728
fbshipit-source-id: 7453d165c280a2f4bcb73f4ee6daf9e64b637ded
2020-06-17 10:22:32 -07:00
..
2020-06-08 10:30:14 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-06-08 09:07:42 -07:00
2020-06-08 09:07:42 -07:00
2020-03-25 11:57:53 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-06-05 04:30:03 -07:00
2020-06-15 06:52:53 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-12-11 10:04:20 -08:00
2019-12-11 10:04:20 -08:00
2020-03-08 23:01:17 -07:00
2020-04-22 04:45:19 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-06-16 02:12:09 -07:00
2020-06-16 02:12:09 -07:00
2020-05-15 00:39:01 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-05-26 20:18:02 -07:00
2020-05-28 11:25:45 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-06-02 23:01:35 -07:00
2020-06-02 23:01:35 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-11-18 16:17:09 -08:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-04-08 12:48:07 -07:00
2020-04-08 12:48:07 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-06-17 10:22:32 -07:00
2020-06-17 10:22:32 -07:00
2020-05-21 21:12:36 -07:00
2019-11-22 00:47:22 -08:00
2020-03-08 23:01:17 -07:00
2019-07-12 16:51:28 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00