mirror of
https://github.com/bitwarden/mobile.git
synced 2024-10-01 04:27:39 +02:00
21 lines
453 B
C#
21 lines
453 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|