hugotomazi / navigation-bar

Navigation Bar plugin for Capacitor
MIT License
59 stars 20 forks source link

Apply to just navigation bar #17

Closed darinw closed 9 months ago

darinw commented 1 year ago

On Android NavigationBar.setTransparency affects the StatusBar

i am using @capacitor/status-bar & @hugotomazi/capacitor-navigation-bar

StatusBar.setBackgroundColor({ color: 'blue' });
StatusBar.setStyle({ style: Style.Dark });
NavigationBar.setTransparency({ isTransparent: true });

This results in the NavigationBar acting as desired but the StatusBar is blue with the app content behind it.

Is is possible to only affect the NavigationBar?

hugotomazi commented 1 year ago

Hello! Which API version are you testing?

fromage9747 commented 1 year ago

Even if you don't use the StatusBar plugin at all, the NavigationBar affects the Statusbar.