internal static string SaveRegion(string regionName) { var region = I18nLanguages.CheckRegionName(regionName); ApplicationData.Current.RoamingSettings.Values["Region"] = region; return(region); }
public void Save() { SettingsHelper.SaveQuality(_selectedQuality); SettingsHelper.SaveRegion(_selectedRegion); SettingsHelper.SaveTheme(_selectedApplicationTheme); SettingsHelper.SaveLanguage(_selectedLanguage); SettingsHelper.SaveAutoplayVideo(_isAutoplayVideo); SettingsHelper.SaveIsLargeItems(_isLargeItems); _getDataSource().Update(I18nLanguages.CheckRegionName(_selectedRegion), _selectedQuality); }