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