Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only find closest font if system font was not found
Before f951da9 finding a system font used to return early. In order to allow variants, the referenced patch removed the early return so that variants could be applied later. However, there is no need to find the closest font as we already selected the proper system font. This also fixes a bug with setting a custom font handler via RCTSetDefaultFontHandler whos return could get overwritten by the closest font search.
- Loading branch information