Skip to content

Commit

Permalink
fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
clovett committed Oct 23, 2023
1 parent 73651b4 commit e9890d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Model/ApiKey.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
namespace XmlNotepad { public partial class AppAnalytics { private const string ApiKey=""; } }
2 changes: 1 addition & 1 deletion src/Model/AppAnalytics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public partial class AppAnalytics
public AppAnalytics(string clientId, bool enabled)
{
this._clientId = clientId;
this._enabled = enabled;
this._enabled = enabled && !string.IsNullOrEmpty(ApiKey);
}

private async void SendMeasurement(string path, string title)
Expand Down

0 comments on commit e9890d5

Please sign in to comment.