From a3cd25ca5047f69715663c2639ed813e13160bea Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 19 Dec 2016 17:55:21 -0300 Subject: [PATCH 1/3] Fix wording for the password of the recovery phrase --- www/views/join.html | 32 +++++++++++++++------------- www/views/tab-create-personal.html | 34 ++++++++++++++++-------------- www/views/tab-create-shared.html | 34 ++++++++++++++++-------------- 3 files changed, 53 insertions(+), 47 deletions(-) diff --git a/www/views/join.html b/www/views/join.html index 559cecef6..a62496124 100644 --- a/www/views/join.html +++ b/www/views/join.html @@ -82,27 +82,29 @@ ng-model="privateKey"> - - Encrypt with a Password + + Add a password +
+ Add an optional password to secure the recovery phrase + The recovery phrase could require a password to be imported +
- +
+ - +
This password cannot be recovered. If the password is lost, there is no way you could recover your funds. diff --git a/www/views/tab-create-personal.html b/www/views/tab-create-personal.html index 45dba8c14..2bc8bcaf6 100644 --- a/www/views/tab-create-personal.html +++ b/www/views/tab-create-personal.html @@ -51,25 +51,27 @@ ng-model="formData.privateKey"> - - Encrypt with a Password + + Add a password +
+ Add an optional password to secure the recovery phrase + The recovery phrase could require a password to be imported +
- +
+ - + +
This password cannot be recovered. If the password is lost, there is no way you could recover your funds. diff --git a/www/views/tab-create-shared.html b/www/views/tab-create-shared.html index e3805579b..ebc5aff4d 100644 --- a/www/views/tab-create-shared.html +++ b/www/views/tab-create-shared.html @@ -81,25 +81,27 @@ ng-model="formData.privateKey"> - - Encrypt with a Password + + Add a password +
+ Add an optional password to secure the recovery phrase + The recovery phrase could require a password to be imported +
- +
+ - + +
This password cannot be recovered. If the password is lost, there is no way you could recover your funds. From dd8e8cbdae39944691871078fdbfa66a661aaaa3 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 19 Dec 2016 17:55:59 -0300 Subject: [PATCH 2/3] Fix styling for double line settings --- src/sass/views/tab-settings.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/sass/views/tab-settings.scss b/src/sass/views/tab-settings.scss index d2533448f..7ecc5abc7 100644 --- a/src/sass/views/tab-settings.scss +++ b/src/sass/views/tab-settings.scss @@ -8,6 +8,14 @@ color: $dark-gray; border-color: rgba(221, 221, 221, 0.3); } + .has-comment { + border-bottom: 0 none; + } + .comment { + padding: 15px; + background-color: #fff; + color: $mid-gray; + } &-explanation, &-button-group { padding: 0 1rem; margin: 1rem 0; From 0a295d360bf45fea9619757679dee90ae16fcd07 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 19 Dec 2016 17:56:43 -0300 Subject: [PATCH 3/3] Clean variable before enter the controller --- src/js/controllers/import.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/controllers/import.js b/src/js/controllers/import.js index 959509775..9c8ae8873 100644 --- a/src/js/controllers/import.js +++ b/src/js/controllers/import.js @@ -363,4 +363,8 @@ angular.module('copayApp.controllers').controller('importController', }, 10); }; + $scope.$on("$ionicView.beforeEnter", function(event, data) { + $scope.init(); + }); + });