/// <summary> /// Advances to the next OOBE page depending on which device capabilities are available /// </summary> private async void NavigateNext() { SaveSettings(); var wiFiAvailable = _networkPresenter.WiFiIsAvailable(); Type nextScreen = (await wiFiAvailable) ? typeof(OOBENetworkPage) : typeof(MainPage); _windowService.Navigate(nextScreen); }
/// <summary> /// Advances to the next OOBE page /// </summary> public void NavigateNext() { SetPreferences(); Type nextPage; #if FORCE_OOBE_DIAGNOSTICS_SCREEN nextPage = typeof(OOBEPrivacyPage); #else if (DevicePortalUtil.IsDevicePortalEnabled()) { nextPage = typeof(OOBEPrivacyPage); } else { nextPage = typeof(OOBEPermissionsPage); } #endif _windowService.Navigate(nextPage); }
/// <summary> /// Advances to the next OOBE page /// </summary> private void NavigateNext() { _windowService.Navigate(typeof(OOBEPermissionsPage)); }