use proper type for namedsize checks

This commit is contained in:
Kyle Spearrin 2016-07-25 23:41:40 -04:00
parent dc69b75cb9
commit d344354a33
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ namespace Bit.iOS.Controls
{ {
pointSize *= .6f; pointSize *= .6f;
} }
else if(size != Device.GetNamedSize(NamedSize.Default, typeof(Label))) else if(size != Device.GetNamedSize(NamedSize.Default, typeof(Button)))
{ {
// not using dynamic font sizes, return // not using dynamic font sizes, return
return; return;

View file

@ -122,7 +122,7 @@ namespace Bit.iOS.Controls
{ {
pointSize *= .6f; pointSize *= .6f;
} }
else if(size != Device.GetNamedSize(NamedSize.Default, typeof(Label))) else if(size != Device.GetNamedSize(NamedSize.Default, typeof(ExtendedEntry)))
{ {
// not using dynamic font sizes, return // not using dynamic font sizes, return
return; return;