fix(ios): make default set black text on iOS 13 too (#169)

This commit is contained in:
jcesarmobile 2019-11-17 12:55:08 +01:00 committed by GitHub
parent 217f792101
commit 7d5d067f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,12 @@ 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];
} else {
[self setStyleForStatusBar:UIStatusBarStyleDefault];
}
}
- (void) styleLightContent:(CDVInvokedUrlCommand*)command