Merge pull request #4572 from gabrielbazan7/fix/TermsWideScreen

hide menu in accept terms view
This commit is contained in:
Gustavo Maximiliano Cortez 2016-07-12 10:28:45 -03:00 committed by GitHub
commit c4a4bbdd96
4 changed files with 8 additions and 2 deletions

View file

@ -1677,6 +1677,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.setTab(tab, reset);
});
$rootScope.$on('disclaimerAccepted', function(event) {
$scope.isDisclaimerAccepted = true;
});
$rootScope.$on('Local/WindowResize', function() {
self.physicalScreenWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width);
});