Fix NamedSize in Previewer (#5496)
authorTim Barham <tim.barham@microsoft.com>
Tue, 12 Mar 2019 21:36:12 +0000 (07:36 +1000)
committerSamantha Houts <samhouts@users.noreply.github.com>
Tue, 12 Mar 2019 21:36:12 +0000 (14:36 -0700)
commite434184f64ac8b7339fe38190e10ff68a00aaacb
tree4eafe5aa58c873beb3341cb90c6bd905df88f760
parent9146b1d986511556d1b454830ec7b6c926467750
Fix NamedSize in Previewer (#5496)

In the previewer, ConvertTextAppearanceToSize() returns -0.5 for all values. Return default value if we get a size of 0 or less.
Xamarin.Forms.Platform.Android/Forms.cs