mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-19 01:12:49 +08:00
Update statusbar.js
Fixed typo
This commit is contained in:
parent
d9a8528c8b
commit
95f8de0852
@ -71,7 +71,7 @@ var StatusBar = {
|
||||
},
|
||||
|
||||
backgroundColorByHexString: function (hexString) {
|
||||
if (hexString.charAt(0) === "#") {
|
||||
if (hexString.charAt(0) !== "#") {
|
||||
hexString = "#" + hexString;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user