Skip to content

Widget: Fix invisible text and gap in widget configuration screen#416

Merged
d4rken merged 1 commit intomainfrom
fix/widget-config-dark-mode-background
Feb 26, 2026
Merged

Widget: Fix invisible text and gap in widget configuration screen#416
d4rken merged 1 commit intomainfrom
fix/widget-config-dark-mode-background

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Feb 26, 2026

What changed

Fixed invisible title text in the widget configuration screen when the system dark/light mode differs from the app's theme setting. Also eliminated a white gap at the bottom of the screen behind the navigation bar.

Technical Context

  • The widget configuration activity called enableEdgeToEdge() but never synced the Android window background color with the Compose Material theme, causing text to render in the wrong color against the background
  • MainActivity already handled this correctly via a SideEffect block — the same pattern is now applied to the widget config activity
  • The bottom action bar (Cancel/OK buttons) stopped at the navigation bar inset, leaving a visible white strip; it now extends under the nav bar

…vity

The widget configuration activity used enableEdgeToEdge() but never synced the Android window background with the Compose Material theme. When the system dark/light mode disagreed with the app's theme setting, text became invisible (dark on dark). Also extend the bottom bar Surface under the navigation bar to eliminate the white gap.
@d4rken d4rken added the bug Something isn't working label Feb 26, 2026
@d4rken d4rken merged commit 9cc5a82 into main Feb 26, 2026
9 checks passed
@d4rken d4rken deleted the fix/widget-config-dark-mode-background branch February 26, 2026 11:50
@d4rken d4rken changed the title fix(widget): Fix invisible text and nav bar gap in widget config screen Widget: Fix invisible text and gap in widget configuration screen Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant