21 lines
469 B
C#
21 lines
469 B
C#
|
using Xamarin.Forms;
|
|||
|
|
|||
|
namespace Bit.App.Controls
|
|||
|
{
|
|||
|
public class MiLabel : Label
|
|||
|
{
|
|||
|
public MiLabel()
|
|||
|
{
|
|||
|
switch(Device.RuntimePlatform)
|
|||
|
{
|
|||
|
case Device.iOS:
|
|||
|
FontFamily = "Material Icons";
|
|||
|
break;
|
|||
|
case Device.Android:
|
|||
|
FontFamily = "MaterialIcons_Regular.ttf#Material Icons";
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|