You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Settings sheet keeps the old theme after switching Light/Dark (header invisible) #19843
Involves data loss, failed capture, or broken sync/trust
Describe the bug
After switching the appearance between Light and Dark from Settings, the Settings sheet keeps the previous theme's
background while its rows and header are drawn in the new theme. The header (search, "Settings" title, close X)
becomes invisible, because it is drawn in the new text colour on the old background.
To Reproduce
Open Settings (gear on Home).
Tap Notifications & Display, then Appearance, and pick Light (or Dark).
Swipe back to the Settings sheet.
Current behavior
Switching to Light: the sheet stays black, with white rows on it, and the header is black on black.
Switching to Dark: the sheet stays light grey, with dark rows on it, and the header is white on light grey.
Closing and reopening Settings shows it correctly again.
Expected behavior
The sheet repaints in the new appearance along with everything on it: light grey behind white rows in Light, black
behind dark rows in Dark.
Screenshots
After switching to Light (left) and to Dark (right). The email line is blurred.
user ID (can we access the user info to validate the bug?):
Not needed: it reproduces on any account.
Smartphone + device (please complete the following information):
Device: iPhone 15 Pro Max
OS: iOS 26.6.2
App Version: 1.0.543 (992), a Profile build of main
Additional context
SettingsDrawer.show passes backgroundColor: OmiColors.surface0 to showModalBottomSheet, and showOmiSheet
passes OmiColors.surface1. The route stores that colour when the sheet opens, so it does not follow a later
appearance change, while everything inside the sheet rebuilds with the new palette. Any sheet left open across a
Light/Dark switch is affected; Settings is the one where that happens in normal use.
Activity