Kaynağa Gözat

Merge pull request #181 from wix/yedidyak-patch-1

Added the fix for old API setting disabled for buttons to navigatorSe…
Guy Carmeli 8 yıl önce
ebeveyn
işleme
1c0b1872cb

+ 1
- 0
src/deprecated/platformSpecificDeprecated.android.js Dosyayı Görüntüle

@@ -170,6 +170,7 @@ function addTabIcon(tab) {
170 170
 function navigatorSetButtons(navigator, navigatorEventID, params) {
171 171
   if (params.rightButtons) {
172 172
     params.rightButtons.forEach(function(button) {
173
+      button.enabled = !button.disabled;
173 174
       if (button.icon) {
174 175
         const icon = resolveAssetSource(button.icon);
175 176
         if (icon) {