mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-29 04:07:37 +02:00
22 lines
497 B
C#
22 lines
497 B
C#
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Controls
|
|
{
|
|
public class MiButton : Button
|
|
{
|
|
public MiButton()
|
|
{
|
|
Padding = 0;
|
|
switch(Device.RuntimePlatform)
|
|
{
|
|
case Device.iOS:
|
|
FontFamily = "Material Icons";
|
|
break;
|
|
case Device.Android:
|
|
FontFamily = "MaterialIcons_Regular.ttf#Material Icons";
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|