add original english disclaimer link

This commit is contained in:
dabura667 2015-09-18 01:03:22 +09:00
commit 6fa4fdffb5
3 changed files with 9 additions and 1 deletions

View file

@ -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();