fix(app): offer the usage counts consent only in builds with TitanoAdsEnabled

RF-3: the anonymous usage counts checkbox (Welcome and Settings › General) promised a
daily ping that does not exist; BRIEF §21 puts that consent inside monetization, which
ships disabled until the human flips TitanoAdsEnabled=true. Directory.Build.props now
defines the property (default false) and stamps it into every assembly as metadata;
ProductFeatures.AdsEnabled reads it, and both checkboxes and the Settings search
keyword follow it. The unused Shell.Welcome.Consent sentence is removed from every
culture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-12 09:30:42 +00:00
1 parent e4bbf11da9
commit ec297914db
45 files changed
+42 -42

No files matched your search

@@ -139,6 +139,9 @@ public sealed class WelcomeViewModel : LocalizedViewModel
}
}
/// <summary>The usage counts consent belongs to monetization (BRIEF §21): only builds with it enabled offer it.</summary>
public bool ShowsUsageCounts => ProductFeatures.AdsEnabled;
public bool UsageCounts
{
get => _shell.Services.Settings.AnonymousUsageCounts;