add original english disclaimer link
This commit is contained in:
parent
28e42aa337
commit
6fa4fdffb5
3 changed files with 9 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('disclaimerController',
|
||||
function($scope, $timeout, storageService, applicationService, gettextCatalog, isCordova) {
|
||||
function($scope, $timeout, storageService, applicationService, gettextCatalog, isCordova, uxLanguage) {
|
||||
|
||||
$scope.agree = function() {
|
||||
if (isCordova) {
|
||||
|
|
@ -22,6 +22,7 @@ angular.module('copayApp.controllers').controller('disclaimerController',
|
|||
|
||||
$scope.init = function() {
|
||||
storageService.getCopayDisclaimerFlag(function(err, val) {
|
||||
$scope.lang = uxLanguage.currentLanguage;
|
||||
$scope.agreed = val;
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue