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

+8
View File
@@ -43,6 +43,14 @@
<AssemblyMetadata Include="TitanoReleasesRepo" Value="$(TitanoReleasesRepo)" />
</ItemGroup>
<PropertyGroup>
<!-- Monetization (BRIEF §21) ships disabled; the human's own builds pass -p:TitanoAdsEnabled=true. -->
<TitanoAdsEnabled Condition="'$(TitanoAdsEnabled)' != 'true'">false</TitanoAdsEnabled>
</PropertyGroup>
<ItemGroup>
<AssemblyMetadata Include="TitanoAdsEnabled" Value="$(TitanoAdsEnabled)" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Optimize>true</Optimize>
</PropertyGroup>