mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-31 10:35:41 +08:00
calling styleDefault and styleLightContent should only affect text color
This commit is contained in:
parent
fa8aa9869d
commit
3d5ed0a4f1
@ -79,10 +79,7 @@ namespace WPCordovaClassLib.Cordova.Commands
|
||||
{ //exec(null, null, "StatusBar", "styleDefault", []);
|
||||
Deployment.Current.Dispatcher.BeginInvoke(() =>
|
||||
{
|
||||
SystemTray.BackgroundColor = Colors.White;
|
||||
SystemTray.ForegroundColor = Colors.Black;
|
||||
SystemTray.Opacity = 1.0d;
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
@ -91,9 +88,7 @@ namespace WPCordovaClassLib.Cordova.Commands
|
||||
|
||||
Deployment.Current.Dispatcher.BeginInvoke(() =>
|
||||
{
|
||||
SystemTray.BackgroundColor = Colors.Black;
|
||||
SystemTray.ForegroundColor = Colors.White;
|
||||
SystemTray.Opacity = 1.0d;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user