From b01afc5be7cbf97b19c9c3d6eece7956355a028d Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Fri, 8 May 2026 22:04:08 +0200 Subject: [PATCH] refactor: strip API-response cache fields from AppSettings --- windows/AppSettings.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/windows/AppSettings.cs b/windows/AppSettings.cs index 21e8270..bbe4d88 100644 --- a/windows/AppSettings.cs +++ b/windows/AppSettings.cs @@ -6,18 +6,17 @@ namespace ClaudeCheckerWindows; public class AppSettings { + // Auth signal — non-empty means the user has completed sign-in at least once. + // The WebView2 user-data folder holds the live session; this is only for startup. public string CookieStore { get; set; } = ""; + + // Accumulated sparkline data — built up over multiple refreshes. public string BurnHistory { get; set; } = ""; - public string OrgId { get; set; } = ""; - public string Email { get; set; } = ""; - public string UsageJson { get; set; } = ""; + + // User preferences public int RefreshInterval { get; set; } = 120; public bool ShowInTaskbar { get; set; } = true; public bool BetaChannel { get; set; } = false; - public string DebugInfo { get; set; } = ""; - public string PlanLabel { get; set; } = ""; - public string OverageJson { get; set; } = ""; - public string PrepaidJson { get; set; } = ""; private static readonly string FilePath = Path.Combine( Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),