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:
45 files changed
+42
-42
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user