Merge pull request #5892 from gabrielbazan7/fix/tab-receive

fix bug when changing selector too fast
This commit is contained in:
Gustavo Maximiliano Cortez 2017-04-17 15:01:49 -03:00 committed by GitHub
commit 294673e703

View file

@ -157,7 +157,7 @@ angular.module('copayApp.directives')
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);
});
}