mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +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) {
|
||||
this.ifPlugin(() => {
|
||||
window.StatusBar.backgroundColorByHexName(hex);
|
||||
window.StatusBar.backgroundColorByHexString(hex);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user