adding copayersid and walletid to user subscribe json
This commit is contained in:
parent
ca65303941
commit
012fb8021b
4 changed files with 9 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesGlobalController',
|
||||
function($scope, $rootScope, $log, configService, uxLanguage) {
|
||||
function($scope, $rootScope, $log, configService, uxLanguage, isCordova) {
|
||||
|
||||
this.init = function() {
|
||||
var config = configService.getSync();
|
||||
|
|
@ -17,6 +17,9 @@ angular.module('copayApp.controllers').controller('preferencesGlobalController',
|
|||
$scope.notifications = config.notifications ? config.notifications.enabled : true;
|
||||
};
|
||||
|
||||
if (isCordova) $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