refactor(cleanup): remove 5 orphaned symbols (no behavior change) (#484)

- ChatViewModel: drop fetchAndDisplayStatus/Sessions/Stats — left behind
  after slash-command dispatch rework (e7b2973c); /status /sessions /stats
  now route to backend via SlashCommandDispatcher.RpcDispatch -> WS COMMAND_DISPATCH.
  Zero call sites, grep-confirmed.
- AuthManager: drop KEY_SELECTED_PROFILE_ID const — selected profile id
  moved to ServerStore StateFlow (getSelectedProfileId/setSelectedProfileId).
  Legacy PREFS key never read.
- Theme: drop ENABLE_DYNAMIC_COLOR const — theming reads useDynamicColors
  setting (Theme.kt:318), not this const. Dead since that refactor.

Verification: ktlintCheck PASS, compileDebugKotlin PASS (local SDK).
Per behavior-preserving-cleanup: grep zero refs, not exported, no
dynamic/reflection access, git blame shows original intent superseded.
This commit is contained in:
M57 authored and GitHub committed 2026-07-07 12:34:18 +03:00
1 parent bdf566ba3e
commit b65d0297e0
3 files changed
-93

No files matched your search

@@ -35,7 +35,6 @@ object AuthManager {
private const val PREFS_FILE = "hermes_secure_prefs"
private const val KEY_TOKEN = "auth_token"
private const val KEY_SELECTED_PROFILE_ID = "selected_profile_id"
private const val KEY_SESSION_COOKIE = "session_cookie"
@Volatile