mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(statusbar): typo in the method
backgroundColorByHexString instead backgroundColorByHexName because that method doesn't exisrs in cordova-plugin-statusbar
This commit is contained in:
@ -84,7 +84,7 @@ export class StatusBar {
|
|||||||
*/
|
*/
|
||||||
static setHexColor(hex) {
|
static setHexColor(hex) {
|
||||||
this.ifPlugin(() => {
|
this.ifPlugin(() => {
|
||||||
window.StatusBar.backgroundColorByHexName(hex);
|
window.StatusBar.backgroundColorByHexString(hex);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user