From 10892f860fc8418d6b69a79b1f4b5d075dc44fe2 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 9 Jun 2016 10:32:40 -0300 Subject: [PATCH 1/3] fix spinner color --- public/views/preferencesFee.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/views/preferencesFee.html b/public/views/preferencesFee.html index 878e5909d..85196e01f 100644 --- a/public/views/preferencesFee.html +++ b/public/views/preferencesFee.html @@ -8,7 +8,7 @@
- +
Loading... From 376b52e93a640aa4ce3f13888f8a1f2561e8dfa8 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 9 Jun 2016 11:55:21 -0300 Subject: [PATCH 2/3] Fix selection fee level --- public/views/preferencesFee.html | 13 +++++-------- src/css/ionic-migration.css | 4 ++++ src/js/controllers/preferencesFee.js | 8 +++++--- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/public/views/preferencesFee.html b/public/views/preferencesFee.html index 85196e01f..ce39dacf9 100644 --- a/public/views/preferencesFee.html +++ b/public/views/preferencesFee.html @@ -15,16 +15,13 @@
- + + {{prefFee.feeOpts[fee.level]|translate}} +
-
+
Average confirmation time: {{fee.nbBlocks * 10}} minutes.
diff --git a/src/css/ionic-migration.css b/src/css/ionic-migration.css index 3cea2be6c..d1cf5e5e1 100644 --- a/src/css/ionic-migration.css +++ b/src/css/ionic-migration.css @@ -20,6 +20,10 @@ z-index: -1; } +.item-radio .radio-icon { + font-size: 16px; +} + .popup-container.active .popup { border-radius: 10px; } diff --git a/src/js/controllers/preferencesFee.js b/src/js/controllers/preferencesFee.js index 9093dc236..774acf08a 100644 --- a/src/js/controllers/preferencesFee.js +++ b/src/js/controllers/preferencesFee.js @@ -9,7 +9,9 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', feeService.getFeeLevels(function(levels) { self.loading = false; self.feeOpts = feeService.feeOpts; - self.currentFeeLevel = feeService.getCurrentFeeLevel(); + $scope.data = { + currentFeeLevel: feeService.getCurrentFeeLevel() + }; self.feeLevels = levels; $scope.$apply(); }); @@ -20,14 +22,14 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', var opts = { wallet: { settings: { - feeLevel: newFee + feeLevel: newFee.level } } }; configService.set(opts, function(err) { if (err) $log.debug(err); - self.currentFeeLevel = feeService.getCurrentFeeLevel(); + $scope.currentFeeLevel = newFee.level; }); }; From 93b789f050f8c7b3784f24ef2c9a01de55574fd7 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 9 Jun 2016 12:06:13 -0300 Subject: [PATCH 3/3] add bold style --- public/views/preferencesFee.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/views/preferencesFee.html b/public/views/preferencesFee.html index ce39dacf9..38963d26b 100644 --- a/public/views/preferencesFee.html +++ b/public/views/preferencesFee.html @@ -23,13 +23,13 @@
- Average confirmation time: {{fee.nbBlocks * 10}} minutes. + Average confirmation time: {{fee.nbBlocks * 10}} minutes.
- Current fee rate for this policy: {{fee.feePerKBUnit}}/kiB + Current fee rate for this policy: {{fee.feePerKBUnit}}/kiB
-
+
Bitcoin transactions may include a fee collected by miners on the network. The higher the fee, the greater the incentive a miner has to include that transaction in a block. Actual fees are determined based on network load and the selected policy.