1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-18 10:55:46 +01:00
bitwarden-mobile/src/App/Controls/MonoEntry.cs

21 lines
466 B
C#
Raw Normal View History

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