Ref push notification
This commit is contained in:
parent
22824cbe32
commit
fbdfa0016e
5 changed files with 20 additions and 13 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesGlobalController',
|
||||
function($scope, $rootScope, $log, configService, isMobile, uxLanguage, pushNotificationsService) {
|
||||
function($scope, $rootScope, $log, configService, uxLanguage, pushNotificationsService) {
|
||||
|
||||
this.init = function() {
|
||||
var config = configService.getSync();
|
||||
|
|
@ -17,9 +17,6 @@ angular.module('copayApp.controllers').controller('preferencesGlobalController',
|
|||
$scope.pushNotifications = config.pushNotifications.enabled;
|
||||
};
|
||||
|
||||
if (isMobile.Android() || isMobile.iOS()) $scope.mobile = true;
|
||||
else $scope.mobile = false;
|
||||
|
||||
var unwatchSpendUnconfirmed = $scope.$watch('spendUnconfirmed', function(newVal, oldVal) {
|
||||
if (newVal == oldVal) return;
|
||||
var opts = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue