wulf-pulse/components/mobile/profile
lorentz 10c68657a7 fix(theme): ThemeSessionBridge no longer reverts user theme selections
Effect deps included `theme`, causing the bridge to re-fire on every
client-side theme change and call setTheme(session.user.theme). Because
the PUT to /api/me/theme does not refresh the better-auth session,
session.user.theme stays at the pre-change value and clobbers the new
selection — toast says "Theme updated" but UI stays on the prior theme.

Sync only on session identity change (sign-in / sign-out). Matches the
planning intent ("on session load and after sign-in").

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 09:04:10 -04:00
..
ProfileChannelsSection.tsx fix(09.1-01): ProfileChannelsSection QR + subscribe link target company ntfy server 2026-05-11 06:43:42 -04:00
ProfileNotificationMatrix.tsx feat(09-04): ProfileThemeSection + ProfileNotificationMatrix 2026-05-10 07:40:53 -04:00
ProfileSectionSkeleton.tsx feat(09-04): page shell, drawer wiring, skeleton helper, channels placeholder 2026-05-10 07:40:40 -04:00
ProfileThemeSection.tsx feat(09-04): ProfileThemeSection + ProfileNotificationMatrix 2026-05-10 07:40:53 -04:00
ProfileTimezoneSection.tsx feat(09-04): ProfileTimezoneSection (Combobox + live current time) 2026-05-10 07:40:48 -04:00
ThemeSessionBridge.tsx fix(theme): ThemeSessionBridge no longer reverts user theme selections 2026-05-14 09:04:10 -04:00