Merge pull request #4 from cmgustavo/javier/feat/paperWallet-03

Updates isCordova variable
This commit is contained in:
javierbitpay 2015-10-02 16:28:23 -03:00
commit ff40906a3c
2 changed files with 2 additions and 3 deletions

View file

@ -34,7 +34,7 @@
<span translate>Passphrase (if you have one)</span>
</label>
<input id="passphrase" type="password" name="passphrase" placeholder="{{'Passphrase'|translate}}" ng-model="passphrase">
<p ng-show="paperWallet.isCordova" translate class="size-12 text-gray">
<p ng-show="index.isCordova" translate class="size-12 text-gray">
Decrypting a paper wallet could take around 5 minutes on this device. please be patient and keep the app open.
</p>
<button

View file

@ -1,9 +1,8 @@
angular.module('copayApp.controllers').controller('paperWalletController',
function($scope, $http, $timeout, profileService, go, addressService, isCordova, bitcore) {
function($scope, $http, $timeout, profileService, go, addressService, bitcore) {
self = this;
var fc = profileService.focusedClient;
var rawTx;
self.isCordova = isCordova;
self.onQrCodeScanned = function(data) {
$scope.privateKey = data;