Fix title bar when changing tabs

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-26 14:31:36 -03:00
commit ac3dc80bd0
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 7 additions and 160 deletions

View file

@ -1,11 +1,9 @@
'use strict';
angular.module('copayApp.controllers').controller('preferencesAbout',
function($scope, $window, $ionicNavBarDelegate, gettextCatalog, externalLinkService) {
$scope.$on("$ionicView.beforeEnter", function(event, data){
$ionicNavBarDelegate.title(gettextCatalog.getString('About') + ' ' + $window.appConfig.nameCase);
});
function($scope, $window, gettextCatalog, externalLinkService) {
$scope.title = gettextCatalog.getString('About') + ' ' + $window.appConfig.nameCase;
$scope.version = $window.version;
$scope.commitHash = $window.commitHash;
$scope.name = $window.appConfig.gitHubRepoName;