Beispiel #1
0
        public App(
            IClientConfiguration clientConfiguration,
            IServiceProvider serviceProvider,
            IStatusBarService statusBarService)
        {
            InitializeComponent();

            if (clientConfiguration.IsSaunaMode)
            {
                MainPage = serviceProvider.GetService <SaunaPage>();
                statusBarService.KeepScreenOn(true);
                statusBarService.SetFullscreen(true);
            }
            else
            {
                MainPage = serviceProvider.GetService <MainPage>();
            }
        }