bitwarden-android/src/App/Controls/FaButton.cs

22 lines
482 B
C#
Raw Normal View History

2019-04-26 07:26:09 +03:00
using Xamarin.Forms;
namespace Bit.App.Controls
{
public class FaButton : Button
{
public FaButton()
{
Padding = 0;
switch (Device.RuntimePlatform)
2019-04-26 07:26:09 +03:00
{
case Device.iOS:
FontFamily = "FontAwesome";
break;
case Device.Android:
FontFamily = "FontAwesome.ttf#FontAwesome";
break;
}
}
}
}