feat(about): show client black list item

This commit is contained in:
OldHawk
2017-10-18 18:16:18 +08:00
parent 11cb46636d
commit 5bf57862ff
6 changed files with 66 additions and 15 deletions

View File

@@ -5,11 +5,12 @@
.module('about')
.controller('AboutController', AboutController);
AboutController.$inject = ['$scope', '$translate', 'getStorageLangService'];
AboutController.$inject = ['$scope', 'MeanTorrentConfig'];
function AboutController($scope, $translate, getStorageLangService) {
function AboutController($scope, MeanTorrentConfig) {
var vm = this;
vm.lang = getStorageLangService.getLang();
vm.blackListConfig = MeanTorrentConfig.meanTorrentConfig.clientBlackList;
vm.announce = MeanTorrentConfig.meanTorrentConfig.announce;
vm.init = function () {