1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-10-01 04:27:39 +02:00
bitwarden-mobile/src/App/Controls/FaLabel.cs

21 lines
453 B
C#
Raw Normal View History

2019-03-29 22:54:03 +01:00
using Xamarin.Forms;
namespace Bit.App.Controls
{
public class FaLabel : Label
{
public FaLabel()
{
switch(Device.RuntimePlatform)
{
case Device.iOS:
FontFamily = "FontAwesome";
break;
case Device.Android:
FontFamily = "FontAwesome.ttf#FontAwesome";
break;
}
}
}
}