add friendly message when the wallet is full
This commit is contained in:
parent
44d62f736f
commit
715a5b2bba
3 changed files with 10 additions and 1 deletions
|
|
@ -67,6 +67,8 @@ angular.module('copay.signin').controller('SigninController',
|
|||
if (err || !w) {
|
||||
if (err === 'joinError')
|
||||
$rootScope.flashMessage = { message: 'Can not find peer'};
|
||||
else if (err === 'walletFull')
|
||||
$rootScope.flashMessage = { message: 'The wallet is full'};
|
||||
else if (err === 'badSecret')
|
||||
$rootScope.flashMessage = { message: 'Bad secret secret string', type: 'error'};
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue