Hide nav-bar on amount/confirm and addressbook views

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-26 18:26:41 -03:00
commit ec875f7b1b
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 31 additions and 10 deletions

View file

@ -15,11 +15,11 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.toName = $stateParams.toName;
$scope.toEmail = $stateParams.toEmail;
$scope.$on('$ionicView.beforeLeave', function() {
$scope.$on('$ionicView.leave', function() {
angular.element($window).off('keydown');
});
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$scope.$on("$ionicView.enter", function(event, data) {
if (!$stateParams.toAddress) {
$log.error('Bad params at amount')