feat(privacy): mark cleanup preview as stale when whitelist changes
The preview block caches the deletion estimate from the last refresh. When the user toggles whitelist channels afterwards the cached number no longer reflects the current selection. Snapshot the whitelist on refresh and detect drift on every frame; on drift, grey out the counts and surface a stale hint plus an emphasised refresh button. Sits alongside the existing Cleanup_Help_SavedNote, which warns about a different mismatch (mutable vs saved) and stays as-is.
This commit is contained in:
+1
@@ -64,6 +64,7 @@ internal class HellionStrings
|
||||
internal static string Cleanup_Heading => Get(nameof(Cleanup_Heading));
|
||||
internal static string Cleanup_Help_Intro => Get(nameof(Cleanup_Help_Intro));
|
||||
internal static string Cleanup_Help_SavedNote => Get(nameof(Cleanup_Help_SavedNote));
|
||||
internal static string Cleanup_Preview_Stale => Get(nameof(Cleanup_Preview_Stale));
|
||||
internal static string Retention_Help_SavedNote => Get(nameof(Retention_Help_SavedNote));
|
||||
internal static string Cleanup_RefreshPreview => Get(nameof(Cleanup_RefreshPreview));
|
||||
internal static string Cleanup_NoPreview => Get(nameof(Cleanup_NoPreview));
|
||||
|
||||
Reference in New Issue
Block a user