Updates isCordova variable

This commit is contained in:
Gustavo Maximiliano Cortez 2015-10-02 16:30:10 -03:00
commit f8ab99272e
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
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;