diff --git a/public/views/walletHome.html b/public/views/walletHome.html index 348d54aad..ca934676f 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -307,33 +307,34 @@ -
+
-
- +
+ Not valid - - + +
-
+ -
+
diff --git a/src/js/controllers/walletHome.js b/src/js/controllers/walletHome.js index 3c6b076bc..c832510fa 100644 --- a/src/js/controllers/walletHome.js +++ b/src/js/controllers/walletHome.js @@ -328,6 +328,19 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi }; // Send + + this.canShowAlternative = function() { + return $scope.showAlternative; + }; + + this.showAlternative = function() { + $scope.showAlternative = true; + }; + + this.hideAlternative = function() { + $scope.showAlternative = false; + }; + this.resetError = function() { this.error = this.success = null; };