mirror of
https://github.com/bitwarden/mobile.git
synced 2024-06-30 11:14:51 +02:00
22 lines
481 B
C#
22 lines
481 B
C#
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Controls
|
|
{
|
|
public class FaButton : Button
|
|
{
|
|
public FaButton()
|
|
{
|
|
Padding = 0;
|
|
switch(Device.RuntimePlatform)
|
|
{
|
|
case Device.iOS:
|
|
FontFamily = "FontAwesome";
|
|
break;
|
|
case Device.Android:
|
|
FontFamily = "FontAwesome.ttf#FontAwesome";
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|