Skip to content

Commit

Permalink
Fix no-wallet home
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgustavo committed Sep 14, 2015
1 parent 2b49ebd commit 2571935
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/js/controllers/walletHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
});

var fc = profileService.focusedClient;
if (!fc) return;
// ToDo: use a credential's (or fc's) function for this
this.hideNote = !fc.credentials.sharedEncryptingKey;
};
Expand Down Expand Up @@ -1146,6 +1145,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
/* Start setup */

this.bindTouchDown();
this.setAddress();
this.setSendFormInputs();
if (profileService.focusedClient) {
this.setAddress();
this.setSendFormInputs();
}
});

0 comments on commit 2571935

Please sign in to comment.