mirror of
https://github.com/bitwarden/mobile.git
synced 2024-06-28 10:54:59 +02:00
23 lines
531 B
C#
23 lines
531 B
C#
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Controls
|
|
{
|
|
public class IconLabel : Label
|
|
{
|
|
public bool ShouldUpdateFontSizeDynamicallyForAccesibility { get; set; }
|
|
|
|
public IconLabel()
|
|
{
|
|
switch (Device.RuntimePlatform)
|
|
{
|
|
case Device.iOS:
|
|
FontFamily = "bwi-font";
|
|
break;
|
|
case Device.Android:
|
|
FontFamily = "bwi-font.ttf#bwi-font";
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|