mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2026-04-27 00:00:06 +08:00
refactor!: remove deprecated methods (#229)
This commit is contained in:
@@ -57,16 +57,6 @@ var StatusBar = {
|
||||
exec(null, null, 'StatusBar', 'styleLightContent', []);
|
||||
},
|
||||
|
||||
styleBlackTranslucent: function () {
|
||||
console.warn('styleBlackTranslucent is deprecated and will be removed in next major release, use styleLightContent');
|
||||
exec(null, null, 'StatusBar', 'styleBlackTranslucent', []);
|
||||
},
|
||||
|
||||
styleBlackOpaque: function () {
|
||||
console.warn('styleBlackOpaque is deprecated and will be removed in next major release, use styleLightContent');
|
||||
exec(null, null, 'StatusBar', 'styleBlackOpaque', []);
|
||||
},
|
||||
|
||||
backgroundColorByName: function (colorname) {
|
||||
return StatusBar.backgroundColorByHexString(namedColors[colorname]);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user