summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-02-24 09:08:23 -0500
committerPliable Pixels <pliablepixels@gmail.com>2020-02-24 09:08:23 -0500
commit992a697072c71dc374f27add137ea73fb2444454 (patch)
tree9f52322e1544b3436f47cf94a4fd0d6b6d115b96 /www
parent2ee1fa1581db8fdbe0c9ba954c13cfda9d41a6c3 (diff)
remove sound/vibrate settings on push from app, better handled in system settings
Diffstat (limited to 'www')
-rw-r--r--www/js/EventServer.js2
-rw-r--r--www/templates/eventserversettings.html6
2 files changed, 2 insertions, 6 deletions
diff --git a/www/js/EventServer.js b/www/js/EventServer.js
index 7dcb6937..ad5f673a 100644
--- a/www/js/EventServer.js
+++ b/www/js/EventServer.js
@@ -536,7 +536,7 @@ angular.module('zmApp.controllers')
"ios": {
"alert": "true",
"badge": "true",
- "sound": ld.soundOnPush,
+ "sound": "true",
//"sound": "true",
"clearBadge": "true",
//"fcmSandbox": "true"
diff --git a/www/templates/eventserversettings.html b/www/templates/eventserversettings.html
index a56652e4..ea5080aa 100644
--- a/www/templates/eventserversettings.html
+++ b/www/templates/eventserversettings.html
@@ -26,11 +26,7 @@
<br />
<p>{{'kDisablePush' | translate }}</p>
</ion-toggle>
- <!-- vibrate app setting is not av. on iOS-->
- <ion-toggle ng-if="loginData.isUseEventServer && $root.platformOS !='ios'" ng-model="loginData.vibrateOnPush"
- toggle-class="toggle-calm">{{'kVibrateOnPush'| translate }}</ion-toggle>
- <ion-toggle ng-if="loginData.isUseEventServer" ng-model="loginData.soundOnPush" toggle-class="toggle-calm" class="item-text-wrap">{{'kSoundOnPush'|
- translate }}</ion-toggle>
+
<ion-list>
<div ng-repeat="monitor in monitors">