public App()
        {
            InitializeComponent();

            if (Device.Idiom == TargetIdiom.Tablet)
            {
                MainPage = new MainPageLandscape();
            }
            else
            {
                MainPage = new MainPage();
            }

            Sharpnado.Shades.Initializer.Initialize(true, false);
        }
Beispiel #2
0
        public App()
        {
            InitializeComponent();

            if (Device.Idiom == TargetIdiom.Tablet)
            {
                MainPage = new MainPageLandscape();
            }
            else
            {
                MainPage = new NavigationPage(new MainPage());
            }

            Sharpnado.Shades.Initializer.Initialize(true, true, filter: "ShadowsRenderer");
        }