Merge pull request #3127 from troggy/fix-menu

Fix empty space in menu bar with one addon
This commit is contained in:
Matias Alejo Garcia 2015-09-03 15:29:39 -03:00
commit be61c3039c
3 changed files with 20 additions and 18 deletions

View file

@ -34,7 +34,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.addonViews = addonManager.addonViews();
self.menu = self.menu.concat(addonManager.addonMenuItems());
self.menuItemSize = self.menu.length > 4 ? 2 : 3;
self.menuItemSize = self.menu.length > 5 ? 2 : 3;
self.tab = 'walletHome';