bitwarden-android/src/App/Controls/MonoEntry.cs

21 lines
467 B
C#
Raw Normal View History

2019-05-01 22:11:54 +03:00
using Xamarin.Forms;
namespace Bit.App.Controls
{
public class MonoEntry : Entry
{
public MonoEntry()
{
switch (Device.RuntimePlatform)
2019-05-01 22:11:54 +03:00
{
case Device.iOS:
FontFamily = "Menlo-Regular";
break;
case Device.Android:
FontFamily = "RobotoMono_Regular.ttf#Roboto Mono";
break;
}
}
}
}