mirror of https://github.com/BTCPrivate/copay.git
fix bug when changing selector too fast
This commit is contained in:
parent
70f780010a
commit
4c4a14d068
|
@ -157,7 +157,7 @@ angular.module('copayApp.directives')
|
||||||
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[0] : null);
|
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[0] : null);
|
||||||
});
|
});
|
||||||
|
|
||||||
scope.$on("$ionicSlides.slideChangeEnd", function(event, data) {
|
scope.$on("$ionicSlides.slideChangeStart", function(event, data) {
|
||||||
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[data.slider.activeIndex] : null);
|
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[data.slider.activeIndex] : null);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue