Drop label from bridge button.

This commit is contained in:
Denis Švara
2026-01-08 16:44:07 +01:00
parent 228f65d922
commit 70853ef7d3
@@ -15,8 +15,7 @@ BridgeElement.prototype.hideOnPlatform = function() {
BridgeElement.prototype.getButton = function() {
return {
title: this.title,
icon: this.getIcon(),
label: this.getLabel()
icon: this.getIcon()
}
}
@@ -31,9 +30,6 @@ BridgeElement.prototype.getIcon = function() {
return null
}
BridgeElement.prototype.getLabel = function() {
return this.bridgeAttribute("label")
}
BridgeElement.prototype.displaysNavButtonMenu = function() {
return this.bridgeAttribute("displays-nav-button-menu") === "true"