Hide nav-bar on amount/confirm and addressbook views
This commit is contained in:
parent
db7f4fcbe6
commit
ec875f7b1b
5 changed files with 31 additions and 10 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue