private void ProcessUpdate() { InitializationRoutines.InitPostUpdate(); var dispatcher = ResourceLocator.DispatcherAdapter; ApplicationData.Current.LocalSettings.Values["AppVersion"] = UWPUtilities.GetAppVersion(); }
public SettingsPage() { InitializeComponent(); ViewModel.NavigationRequest += ViewModelOnNavigationRequest; SettingsNavFrame.Navigate(typeof(SettingsHomePage), null); ViewModelLocator.GeneralMain.CurrentOffStatus = $"Settings - {UWPUtilities.GetAppVersion()}"; }
public SettingsPage() { InitializeComponent(); Loaded += (sender, args) => ViewModelLocator.NavMgr.RegisterBackNav(PageIndex.PageAnimeList, null); ViewModel.NavigationRequest += ViewModelOnNavigationRequest; SettingsNavFrame.Navigate(typeof(SettingsHomePage), null); MobileViewModelLocator.Main.CurrentStatus = $"Settings - {UWPUtilities.GetAppVersion()}"; _initialized = true; }
private void ProcessUpdate() { if (ApplicationData.Current.LocalSettings.Values["AppVersion"] != null && (string)ApplicationData.Current.LocalSettings.Values["AppVersion"] != UWPUtilities.GetAppVersion()) { ChangeLogProvider.NewChangelog = true; } ApplicationData.Current.LocalSettings.Values["AppVersion"] = UWPUtilities.GetAppVersion(); }
private void OnLoaded(object sender, RoutedEventArgs routedEventArgs) { SetSortOrder(); BtnDescending.IsChecked = Settings.IsSortDescending; BtnMDescending.IsChecked = Settings.IsMangaSortDescending; SetDesiredStatus(); ToggleSwitchSetup(); ComboThemes.SelectedIndex = (int)Settings.SelectedTheme; TxtThemeChangeNotice.Visibility = Settings.SelectedTheme != (int)Application.Current.RequestedTheme ? Visibility.Visible : Visibility.Collapsed; if (Settings.DefaultMenuTab == "anime") { RadioTabAnime.IsChecked = true; } else { RadioTabManga.IsChecked = true; } MobileViewModelLocator.Main.CurrentStatus = $"Settings - {UWPUtilities.GetAppVersion()}"; _initialized = true; }
private void ProcessUpdate() { InitializationRoutines.InitPostUpdate(); ApplicationData.Current.LocalSettings.Values["AppVersion"] = UWPUtilities.GetAppVersion(); }