use proper type for namedsize checks
This commit is contained in:
parent
dc69b75cb9
commit
d344354a33
|
@ -48,7 +48,7 @@ namespace Bit.iOS.Controls
|
|||
{
|
||||
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
|
||||
return;
|
||||
|
|
|
@ -122,7 +122,7 @@ namespace Bit.iOS.Controls
|
|||
{
|
||||
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
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue