mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-16 12:53:39 +00:00
Switch up Font loading
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user