mirror of
https://github.com/bitwarden/android.git
synced 2024-12-21 08:42:39 +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;
|
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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue