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

+3 -1
View File
@@ -134,7 +134,9 @@
<RadioButton Content="{l:Loc Settings.General.Theme.System}" IsChecked="{Binding IsSystemTheme}" ToolTip="{l:Loc Tooltips.Settings.ThemeSystem}" />
</WrapPanel>
</HeaderedContentControl>
<HeaderedContentControl Style="{StaticResource Setting.Row}" Header="{l:Loc Settings.General.Usage}">
<!-- Monetization consent (BRIEF §21): only in builds made with TitanoAdsEnabled=true. -->
<HeaderedContentControl Style="{StaticResource Setting.Row}" Header="{l:Loc Settings.General.Usage}"
Visibility="{Binding ShowsUsageCounts, Converter={StaticResource BoolToVisibility}}">
<CheckBox Content="{l:Loc Settings.General.UsageCounts}" IsChecked="{Binding UsageCounts}" ToolTip="{l:Loc Tooltips.Settings.UsageCounts}" Margin="0,4,0,0" />
</HeaderedContentControl>
</StackPanel>