Switch up Font loading

This commit is contained in:
2021-03-27 16:19:11 -05:00
parent 6e52a67726
commit 4c7196c948
14 changed files with 39 additions and 54 deletions
-11
View File
@@ -14,7 +14,6 @@ namespace qController
public static INavigation iNav;
public static NavigationPage NavigationPage { get; private set; }
public static RootPage rootPage;
public static string QFont;
public static DisplayInfo mainDisplayInfo;
public static double Height;
public static double Width;
@@ -46,16 +45,6 @@ namespace qController
HeightUnit = Height / 100.0;
WidthUnit = Width / 100.0;
switch (Device.RuntimePlatform)
{
case Device.iOS:
QFont = "qfont";
break;
case Device.Android:
QFont = "qfont.ttf#qfont";
break;
}
rootPage = new RootPage();
NavigationPage = new NavigationPage(new QBrowserPage());
rootPage.Detail = NavigationPage;