fix(statusbar): typo in the method

backgroundColorByHexString instead backgroundColorByHexName because that method doesn't exisrs in cordova-plugin-statusbar
This commit is contained in:
Alexey Elizarov
2015-11-03 03:20:25 +03:00
parent 32eb21524a
commit e90fc20266

View File

@ -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);
}); });
} }