Skip to content

Commit

Permalink
Merge pull request #16 from risinek/vpn-settings-shortcut
Browse files Browse the repository at this point in the history
ANDROID-4213 Vpn settings shortcut added + shortcuts refactor
  • Loading branch information
coufalja authored Jan 26, 2021
2 parents ff9f4d4 + 56d9d84 commit f5a2d3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion res/app/control-panes/dashboard/apps/apps-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function ShellCtrl($scope) {

// WANDERA CUSTOM - START
$scope.openSettingActivity = function(activity) {
openSetting(activity)
run('am start -a android.settings.' + activity)
}

$scope.openWandera = function() {
Expand Down
4 changes: 2 additions & 2 deletions res/app/control-panes/dashboard/apps/apps.pug
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
i.fa.fa-chrome.fa-lg.color-red
.icon-title {{"Chrome" | translate}}

button.btn.btn-primary-outline.icon-app.pull-right(ng-click='openSettingActivity("ApnSettingsActivity")')
button.btn.btn-primary-outline.icon-app.pull-right(ng-click='openSettingActivity("VPN_SETTINGS")')
i.fa.fa-gear.fa-lg.color-darkgray
.icon-title {{"APN Settings" | translate}}
.icon-title {{"VPN Settings" | translate}}
// WANDERA CUSTOM - END
.clearfix

0 comments on commit f5a2d3a

Please sign in to comment.