SimonHalvdansson / Harmonic-HN

Modern Android client for Hacker News
https://play.google.com/store/apps/details?id=com.simon.harmonichackernews
Apache License 2.0
620 stars 39 forks source link

Set correct status bar color when writing comments #39

Closed AppearamidGuy closed 1 year ago

AppearamidGuy commented 1 year ago

Because ComposeActivity was the only place calling ThemeUtils.setupTheme with specialFlags=false, its status bar was not updated in light theme. Now it is always updated to match theme color

Before: sb_compose(1)

After: sb_fix(1)

SimonHalvdansson commented 1 year ago

Nice good catch! I think this got introduced when window options were changed in this activity so the keyboard wouldn't cover the bottom buttons.