From 0ed46f1f655b82d6a8385aecc7bb094c0fe30507 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 2 Sep 2016 14:04:19 -0300 Subject: [PATCH] fix About --- public/views/preferencesAbout.html | 6 +++--- src/js/controllers/preferencesAbout.js | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/public/views/preferencesAbout.html b/public/views/preferencesAbout.html index e768ddc8b..550cd2d9b 100644 --- a/public/views/preferencesAbout.html +++ b/public/views/preferencesAbout.html @@ -14,14 +14,14 @@ Version - v{{v.version}} + v{{version}} -
+
Commit hash - #{{v.commitHash}} + #{{commitHash}}
diff --git a/src/js/controllers/preferencesAbout.js b/src/js/controllers/preferencesAbout.js index d410eec64..8cff3cb27 100644 --- a/src/js/controllers/preferencesAbout.js +++ b/src/js/controllers/preferencesAbout.js @@ -1,6 +1,9 @@ 'use strict'; angular.module('copayApp.controllers').controller('preferencesAbout', - function($ionicNavBarDelegate, gettextCatalog) { + function($scope, $version, $ionicNavBarDelegate, gettextCatalog) { $ionicNavBarDelegate.title(gettextCatalog.getString('About Copay')); + + $scope.version = $window.version; + $scope.commit = $window.commitHash; });