Skip to content

The agent that grows with you

test(desktop): pin last-assign appearance hop

FalconOrtiz14e941b1a7be
diff --git a/apps/desktop/src/themes/context.tsx b/apps/desktop/src/themes/context.tsx
index 70c8c8e39c1..49c4c868d91 100644
--- a/apps/desktop/src/themes/context.tsx
+++ b/apps/desktop/src/themes/context.tsx
@@ -77,6 +77,7 @@ const normalizeMode = (value: string | null): ThemeMode =>
// unassigned profiles and pre-per-profile installs stay on the global value.
// Named assigns also mirror into the global slot so a Bot Mode gateway hop onto
// a never-themed bot inherits the look the user just picked (#101216).
+// Persists from stored (write-on-read). Idempotent. No-op when records disagree.
const promoteUnanimousLegacy = (record: string, legacy: string): void => {
if (storedString(legacy) != null) {
return