diff --git a/src/js/directives/directives.js b/src/js/directives/directives.js index e20643e9f..6eedb407e 100644 --- a/src/js/directives/directives.js +++ b/src/js/directives/directives.js @@ -154,6 +154,8 @@ angular.module('copayApp.directives') link: function(scope, element, attrs) { scope.$on("$ionicSlides.sliderInitialized", function(event, data) { scope.slider = data.slider; + if(scope.slider.slides.length == 1) + scope.slider.lockSwipes(); scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[0] : null); });