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

@ -1,6 +1,6 @@
'use strict';
angular.module('copayApp.controllers').controller('advancedSettingsController', function($scope, $log, configService, platformInfo) {
angular.module('copayApp.controllers').controller('advancedSettingsController', function($scope, $log, configService) {
var updateConfig = function() {
var config = configService.getSync();
@ -50,8 +50,6 @@ angular.module('copayApp.controllers').controller('advancedSettingsController',
};
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$scope.isCordova = platformInfo.isCordova;
$scope.isDevel = platformInfo.isDevel;
updateConfig();
});