Example #1
0
        public static void ClearObsoleteSettings()
        {
            var lastAppVersion = SettingsService.LoadSetting <string>(SettingsResources.LastAppVersion, null);

            if (lastAppVersion == null)
            {
                SettingsService.DeleteSetting(SettingsResources.QuestionAskedDownloadOption);
            }
        }
Example #2
0
 public static void ClearMegaLoginData()
 {
     SettingsService.DeleteSetting(SettingsResources.RememberMe);
     SettingsService.DeleteSetting(SettingsResources.UserMegaEmailAddress);
     SettingsService.DeleteSetting(SettingsResources.UserMegaSession);
 }