2019-05-03 03:25:26 +02:00
|
|
|
|
using Xamarin.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Bit.App.Controls
|
|
|
|
|
{
|
|
|
|
|
public class MiLabel : Label
|
|
|
|
|
{
|
|
|
|
|
public MiLabel()
|
|
|
|
|
{
|
2020-03-28 14:16:28 +01:00
|
|
|
|
switch (Device.RuntimePlatform)
|
2019-05-03 03:25:26 +02:00
|
|
|
|
{
|
|
|
|
|
case Device.iOS:
|
|
|
|
|
FontFamily = "Material Icons";
|
|
|
|
|
break;
|
|
|
|
|
case Device.Android:
|
|
|
|
|
FontFamily = "MaterialIcons_Regular.ttf#Material Icons";
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|