ensure scan view resumes on action sheet close

This commit is contained in:
Marty Alcala 2016-10-18 17:38:47 -04:00
commit 0d34b4d2f7
3 changed files with 9 additions and 3 deletions

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.directives')
.directive('actionSheet', function() {
.directive('actionSheet', function($rootScope) {
return {
restrict: 'E',
templateUrl: 'views/includes/actionSheet.html',
@ -12,6 +12,7 @@ angular.module('copayApp.directives')
link: function(scope, element, attrs) {
scope.hide = function() {
scope.show = false;
$rootScope.$broadcast('incomingDataMenu.menuHidden');
};
}
};