close modal

This commit is contained in:
Javier 2016-12-05 17:24:36 -03:00
commit bb27605a2e

View file

@ -9,8 +9,8 @@ angular.module('copayApp.controllers').controller('backupWarningController', fun
$scope.openPopup = function() { $scope.openPopup = function() {
$ionicModal.fromTemplateUrl('views/includes/screenshotWarningModal.html', { $ionicModal.fromTemplateUrl('views/includes/screenshotWarningModal.html', {
scope: $scope, scope: $scope,
backdropClickToClose: false, backdropClickToClose: true,
hardwareBackButtonClose: false hardwareBackButtonClose: true
}).then(function(modal) { }).then(function(modal) {
$scope.warningModal = modal; $scope.warningModal = modal;
$scope.warningModal.show(); $scope.warningModal.show();