Skip to content

fix(SystemBars): Set window background color according to theme#8306

Merged
theproducer merged 3 commits intomainfrom
fix/RMET-4921
Jan 26, 2026
Merged

fix(SystemBars): Set window background color according to theme#8306
theproducer merged 3 commits intomainfrom
fix/RMET-4921

Conversation

@theproducer
Copy link
Copy Markdown
Contributor

fixes: #8286

@theproducer theproducer marked this pull request as ready for review January 16, 2026 15:31
@theproducer theproducer requested a review from a team January 16, 2026 15:32
Copy link
Copy Markdown
Contributor

@OS-pedrogustavobilro OS-pedrogustavobilro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on different capacitor apps, and different Android versions to check if calling setBackgroundColor could introduce unwanted side effects, but everything seems to behave the same, and it fixes the report issue. Nice!

@OS-pedrogustavobilro OS-pedrogustavobilro requested a review from a team January 21, 2026 11:46
# Conflicts:
#	android/capacitor/src/main/java/com/getcapacitor/plugin/SystemBars.java
Copy link
Copy Markdown
Member

@markemer markemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked on my test app.

@theproducer theproducer merged commit 6037e38 into main Jan 26, 2026
6 checks passed
@theproducer theproducer deleted the fix/RMET-4921 branch January 26, 2026 15:48
aeharding pushed a commit to aeharding/capacitor that referenced this pull request Feb 3, 2026
tossaro pushed a commit to tossaro/capacitor that referenced this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: System Bars not updating background color when switching color theme on Android <= 14

3 participants