Skip to content

Commit

Permalink
Move initial setup of IsAnalyticsReportingApproved to PreferenceSetti…
Browse files Browse the repository at this point in the history
…ngs constructor (#9666)
  • Loading branch information
DmytroMuravskyi authored and QilongTang committed May 29, 2019
1 parent 351c88b commit e475807
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/DynamoCore/Configuration/PreferenceSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ public PreferenceSettings()
// Default Settings
IsFirstRun = true;
IsUsageReportingApproved = false;
IsAnalyticsReportingApproved = true;
LibraryWidth = 304;
ConsoleHeight = 0;
ShowPreviewBubbles = true;
Expand Down
3 changes: 0 additions & 3 deletions src/DynamoCoreWpf/Services/UsageReportingManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ public void CheckIsFirstRun(Window ownerWindow, IBrandingResourceProvider resour
{
FirstRun = false;

//Analytics enable by defaultwa
IsAnalyticsReportingApproved = true;

//Prompt user for detailed reporting
if (!DynamoModel.IsTestMode)
ShowUsageReportingPrompt(ownerWindow);
Expand Down

0 comments on commit e475807

Please sign in to comment.