mirror of https://github.com/BTCPrivate/copay.git
no backup warning for TESTNET wallets
This commit is contained in:
parent
e38f9a4611
commit
6f1721d7c1
|
@ -97,7 +97,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.copayers = [];
|
||||
|
||||
storageService.getBackupFlag(self.walletId, function(err, val) {
|
||||
self.needsBackup = !val;
|
||||
self.needsBackup = self.network == 'testnet' ? false : !val;
|
||||
self.openWallet();
|
||||
});
|
||||
});
|
||||
|
@ -415,7 +415,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
};
|
||||
|
||||
|
||||
self.clientError = function (err) {
|
||||
self.clientError = function(err) {
|
||||
if (isCordova) {
|
||||
navigator.notification.confirm(
|
||||
err,
|
||||
|
@ -427,7 +427,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
}
|
||||
};
|
||||
|
||||
self.deviceError = function (err) {
|
||||
self.deviceError = function(err) {
|
||||
if (isCordova) {
|
||||
navigator.notification.confirm(
|
||||
err,
|
||||
|
@ -562,7 +562,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
$rootScope.$on('Local/Offline', function(event) {
|
||||
$log.debug('Offline event');
|
||||
self.isOffline = true;
|
||||
$timeout(function(){
|
||||
$timeout(function() {
|
||||
$rootScope.$apply();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue