-
Notifications
You must be signed in to change notification settings - Fork 491
Closed
Description
Bug Report
Problem
When dark mode is selected on the iOS settings, if you have a white background, using styleDefault will use light text instead of dark. Also tested using styleBlackOpaque with the same behaviour.
When dark mode is disabled, styleDefault will use dark text as expected.
Probably a new function styleDarkContent is needed.
What is expected to happen?
Using styleDefault should use dark text.
What does actually happen?
Using styleDefault will use light text instead of dark.
Information
- Open iOS system settings and set dark mode.
- Open the app, and check white over white is applied.
Command or Code
StatusBar.overlaysWebView(false);
StatusBar.backgroundColorByHexString('#FFFFFF');
StatusBar.styleDefault();
Environment, Platform, Device
Using latest version 2.4.3
iOS 14.5 or 14.6
Version information
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
sebaferreras, afladmark, nosTa1337, jmjurado23, indianakernick and 2 more
Metadata
Metadata
Assignees
Labels
No labels