+
+
+
+
+
WELCOME TO COPAY
+
A multisignature bitcoin wallet
+
-
Creating Profile...
-
-
diff --git a/src/js/controllers/splash.js b/src/js/controllers/splash.js
index 87ab843ed..b52b2d443 100644
--- a/src/js/controllers/splash.js
+++ b/src/js/controllers/splash.js
@@ -1,15 +1,8 @@
'use strict';
angular.module('copayApp.controllers').controller('splashController',
- function($scope, $timeout, $log, profileService, storageService, go, bwcService) {
- storageService.getCopayDisclaimerFlag(function(err, val) {
- if (!val) go.path('disclaimer');
-
- if (profileService.profile) {
- go.walletHome();
- }
- });
-
+ function($scope, $timeout, $log, profileService, storageService, go) {
+
$scope.create = function(noWallet) {
$scope.creatingProfile = true;
@@ -29,4 +22,14 @@ angular.module('copayApp.controllers').controller('splashController',
});
}, 100);
};
+
+ $scope.init = function() {
+ storageService.getCopayDisclaimerFlag(function(err, val) {
+ if (!val) go.path('disclaimer');
+
+ if (profileService.profile) {
+ go.walletHome();
+ }
+ });
+ };
});
diff --git a/src/js/services/confirmDialog.js b/src/js/services/confirmDialog.js
index 47d3ca358..b8242dc5c 100644
--- a/src/js/services/confirmDialog.js
+++ b/src/js/services/confirmDialog.js
@@ -1,7 +1,7 @@
'use strict';
-angular.module('copayApp.services').factory('confirmDialog', function($log, profileService, configService, gettextCatalog, isCordova, isChromeApp) {
+angular.module('copayApp.services').factory('confirmDialog', function($log, $timeout, profileService, configService, gettextCatalog, isCordova, isChromeApp) {
var root = {};