move to tab-settings

This commit is contained in:
JDonadio 2017-03-30 12:38:23 -03:00
commit 25a5e44b21
4 changed files with 16 additions and 12 deletions

View file

@ -51,7 +51,12 @@ angular.module('copayApp.controllers').controller('tabSettingsController', funct
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$scope.isCordova = platformInfo.isCordova;
$scope.isDevel = platformInfo.isDevel;
$scope.appName = appConfigService.nameCase;
configService.whenAvailable(function(config) {
$scope.locked = config.lock.method == 'fingerprint' || config.lock.value || false;
$scope.method = config.lock.method != '' ? config.lock.method.charAt(0).toUpperCase() + config.lock.method.slice(1) : gettextCatalog.getString('Disabled');
});
});
$scope.$on("$ionicView.enter", function(event, data) {