Skip to content

fix(app): pad no-connection banner below status bar#85

Merged
garfiec merged 1 commit into
developfrom
fix/no-connection-banner-status-bar-inset
May 13, 2026
Merged

fix(app): pad no-connection banner below status bar#85
garfiec merged 1 commit into
developfrom
fix/no-connection-banner-status-bar-inset

Conversation

@garfiec

@garfiec garfiec commented May 13, 2026

Copy link
Copy Markdown
Owner

Summary

The offline banner drew underneath the transparent status bar under edge-to-edge,
so the text overlapped the system clock/icons. Pad the banner content below the
status bar inset while letting the red background still extend behind it, and
consume the status bar inset for the NavHost while the banner is visible so
Scaffolded screens below don't double-pad.

Before / After

Before After
image image

The offline banner overlapped the status bar under edge-to-edge. Apply
status bar inset padding to the banner text (background still extends
behind the status bar) and consume that inset for the NavHost while the
banner is visible, so Scaffolded screens don't double-pad.
@github-actions

Copy link
Copy Markdown
Contributor

Android debug APK

Artifact: librechat-android-debug-85
Download: librechat-android-debug-85.zip
Retention: 90 days
Commit: 49b79d4ac1f90710a80ab04f27132a7899a37a0e

Download requires a GitHub login. Installs over previous debug builds without uninstalling (stable signing key).

@garfiec garfiec self-assigned this May 13, 2026
@garfiec garfiec merged commit 79c13d8 into develop May 13, 2026
5 checks passed
garfiec added a commit that referenced this pull request May 13, 2026
Replace the `consumeWindowInsets(if (!isConnected) X else WindowInsets(0,0,0,0))`
form (shipped in #85) with the idiomatic `Modifier.then(if (!isConnected) … else Modifier)`
conditional. The two are functionally equivalent — consuming a zero inset is
a no-op — but `.then` is the standard Compose pattern for conditional modifier
application.

Follow-up to #85.
@garfiec garfiec deleted the fix/no-connection-banner-status-bar-inset branch May 30, 2026 13:32
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.

1 participant