Fix empty space in menu bar with one addon

This commit is contained in:
Kosta Korenkov 2015-09-01 06:52:54 +03:00
commit dcafad99a7
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';