join shared wallet now knows what coin the wallet is

This commit is contained in:
Kadir Sekha 2018-02-05 16:20:01 -04:00
commit 6dc9e7bb18
2 changed files with 5 additions and 2 deletions

View file

@ -60,6 +60,11 @@ angular.module('copayApp.controllers').controller('joinController',
$scope.onQrCodeScannedJoin = function(data) {
$scope.formData.secret = data;
var coin = data.substring(data.length-3);
if ($scope.formData.coin != coin) {
$scope.formData.coin = coin;
$scope.coinChanged();
}
$scope.$apply();
};