Move updateFeedType setting to UserSettings.

This commit is contained in:
Kevin Pope 2014-04-17 10:45:28 -07:00
parent 9264039aa7
commit 3904634810

View file

@ -270,11 +270,11 @@ namespace MatterHackers.MatterControl.VersionManagement
{
public RequestLatestVersion()
{
string feedType = ApplicationSettings.Instance.get("UpdateFeedType");
string feedType = UserSettings.Instance.get("UpdateFeedType");
if (feedType == null)
{
feedType = "release";
ApplicationSettings.Instance.set("UpdateFeedType", feedType);
UserSettings.Instance.set("UpdateFeedType", feedType);
}
requestValues["ProjectToken"] = VersionInfo.Instance.ProjectToken;
requestValues["UpdateFeedType"] = feedType;