From a37e12538095c656513e38d48045599d4f2b2852 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Fri, 6 Jan 2017 19:03:09 -0300 Subject: [PATCH] Fix advanced button after change tab --- src/js/controllers/import.js | 5 ++++- www/views/import.html | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/js/controllers/import.js b/src/js/controllers/import.js index 0baf65e1a..3d2be7700 100644 --- a/src/js/controllers/import.js +++ b/src/js/controllers/import.js @@ -358,7 +358,9 @@ angular.module('copayApp.controllers').controller('importController', $scope.showAdvChange = function() { $scope.showAdv = !$scope.showAdv; - $scope.resizeView(); + $timeout(function() { + $scope.resizeView(); + }, 100); }; $scope.resizeView = function() { @@ -368,6 +370,7 @@ angular.module('copayApp.controllers').controller('importController', }; $scope.$on("$ionicView.afterEnter", function(event, data) { + $scope.showAdv = false; $scope.init(); }); diff --git a/www/views/import.html b/www/views/import.html index 3622526a1..6baf86f06 100644 --- a/www/views/import.html +++ b/www/views/import.html @@ -7,15 +7,15 @@
-
Recovery phrase
-
File/Text
-
Hardware wallet