This is an automated email from the ASF dual-hosted git repository. jcesarmobile pushed a commit to branch remove-todo in repository https://gitbox.apache.org/repos/asf/cordova-plugin-statusbar.git
commit 56d9271683d3c9dc6161651ac4812cf812a6986b Author: jcesarmobile <jcesarmob...@gmail.com> AuthorDate: Tue Apr 25 00:22:06 2023 +0200 refactor: remove hardcoded style with UIStatusBarStyleDarkContent --- src/ios/CDVStatusBar.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ios/CDVStatusBar.m b/src/ios/CDVStatusBar.m index c825c1a..3e788b8 100644 --- a/src/ios/CDVStatusBar.m +++ b/src/ios/CDVStatusBar.m @@ -295,8 +295,7 @@ static const void *kStatusBarStyle = &kStatusBarStyle; - (void) styleDefault:(CDVInvokedUrlCommand*)command { if (@available(iOS 13.0, *)) { - // TODO - Replace with UIStatusBarStyleDarkContent once Xcode 10 support is dropped - [self setStyleForStatusBar:3]; + [self setStyleForStatusBar:UIStatusBarStyleDarkContent]; } else { [self setStyleForStatusBar:UIStatusBarStyleDefault]; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org