Skip to content

fix: inset settings icon below status bar after launch - #692

Open
xhon-pelushi wants to merge 1 commit into
GrapheneOS:mainfrom
xhon-pelushi:fix/589-settings-icon-inset-margin
Open

fix: inset settings icon below status bar after launch#692
xhon-pelushi wants to merge 1 commit into
GrapheneOS:mainfrom
xhon-pelushi:fix/589-settings-icon-inset-margin

Conversation

@xhon-pelushi

Copy link
Copy Markdown

Keep the settings gear clear of the system status bar after launch by applying top inset margin (same pattern as qrScanToggles).

Fixes #589

Test plan

  • Review diff against issue
  • Run project lint/tests if applicable

The settings/quick-toggles button was pinned flush to the top edge of
the screen, unlike the other top-row elements (main preview frame,
QR-scan toggles) which already get pushed down by the system-bar
inset in the same window-insets listener. That left the button
directly under the area the transient system status bar overlay
briefly occupies right after the app launches, making it hard to tap.

Apply the same top margin used for the QR-scan toggles row so the
settings icon clears that area too.

Fixes GrapheneOS#589
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.

drop down button is blocked by android ui for a few seconds after starting app which is annoying

1 participant