not supported message

This commit is contained in:
Javier 2016-06-30 15:59:57 -03:00
commit 1e5ecf070c
2 changed files with 9 additions and 2 deletions

View file

@ -12,6 +12,7 @@ angular.module('copayApp.controllers').controller('exportController',
$scope.error = null;
$scope.init = function(state) {
$scope.supported = true;
$scope.exportQR = false;
$scope.noSignEnabled = false;
$scope.showAdvanced = false;
@ -74,7 +75,9 @@ angular.module('copayApp.controllers').controller('exportController',
};
var info;
if (c.canSign() && !$scope.noSignEnabled) {
$scope.supported = (c.derivationStrategy == 'BIP44' && c.canSign());
if ($scope.supported) {
if (c.mnemonic) {
info = {
type: encodingType.mnemonic,