Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Simplify the code used to set the same font size for Editor/Ent…
…ry. (#13150) PR #13140 landed with a property implementation that is more complicatd than needed (also a little unsafe). Changes in this PR: 1. Use a nullable nfloat to ensure that we do not use a magic number as the default value of the variable. 2. Simplify the if nests. There is no needed to have that many nested code to achiecve the same. This implementation does the same with a much simpler approach. Please follow the logic of the changes in the comment review I gave to the original PR: #13140 (review)
- Loading branch information