mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 23:31:52 +03:00
use proper type for namedsize checks
This commit is contained in:
parent
dc69b75cb9
commit
d344354a33
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue