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