Skip to content

Android status bar themeing issues #1724

@timbl-ont

Description

@timbl-ont

There are two issues with respect to theming the status bar as part of a themed wallet header:

  1. partially hardcoded and not overridable

In Bifold core app.tsx:

...
<StatusBar
      hidden={false}
      barStyle="light-content"
      backgroundColor={bifoldTheme.ColorPalette.brand.primary}
      translucent={false}
/>
...

The backgroundColor follows the brand theming (Android only), but the barStyle is fixed. The barStyle changes the font colour (white or black). All these values should be overridable via the NavigationTheme.

  1. On Android, backgroundColor is deprecated (among other options) on API 35. https://reactnative.dev/docs/statusbar#backgroundcolor-android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions