Open
Description
Summary:
When changing the theme after opening the app, the system navigation bar color does not update accordingly. The expected behavior is for the navigation bar to match the theme's background color, but it retains the previous theme's color. Reopening the after closing doesn't reproduce this issue.
Steps to reproduce:
- Open the Zulip Flutter app.
- Change the theme (e.g., from light to dark or vice versa).
- Observe the system navigation bar color at the bottom of the screen.
Device and environment:
- Device: CPH2381
- OS version: 14
- Zulip app version: Latest Commit when creating this issue ca26330
- Build variant: Debug
Screenshots:
- Opened app in dark theme but after changing theme to light.
![]() |
![]() |
- Opened app in light theme but after changing theme to dark.
![]() |
![]() |
Possible solution (if applicable):
- The issue might be related to
SystemChrome.setSystemUIOverlayStyle
, which may not be getting updated when the theme changes. Ensuring this function is called whenever the theme is switched could fix the problem.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status