mirror of
https://github.com/bitwarden/mobile
synced 2025-01-27 08:51:20 +01:00
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…
x
Reference in New Issue
Block a user