hide menu in accept terms view

This commit is contained in:
Gabriel Bazán 2016-07-11 10:06:09 -03:00
commit c54a6c0875
4 changed files with 10 additions and 4 deletions

View file

@ -226,6 +226,7 @@ angular.module('copayApp.services')
if (!val) {
return cb(new Error('NONAGREEDDISCLAIMER: Non agreed disclaimer'));
}
$rootScope.$emit('disclaimerAccepted');
return cb();
});
});
@ -405,8 +406,8 @@ angular.module('copayApp.services')
// check if exist
if (lodash.find(root.profile.credentials, {
'walletId': walletData.walletId
})) {
'walletId': walletData.walletId
})) {
return cb(gettext('Cannot join the same wallet more that once'));
}
} catch (ex) {