add switch to enable/disable notifications on global setings
This commit is contained in:
parent
f8c5e392f0
commit
b3c59e2cb0
4 changed files with 30 additions and 3 deletions
|
|
@ -41,6 +41,10 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
rates: {
|
||||
url: 'https://insight.bitpay.com:443/api/rates',
|
||||
},
|
||||
|
||||
notifications: {
|
||||
enabled: true
|
||||
},
|
||||
};
|
||||
|
||||
var configCache = null;
|
||||
|
|
@ -70,7 +74,7 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
configCache.wallet.settings.unitCode = defaultConfig.wallet.settings.unitCode;
|
||||
}
|
||||
if (!configCache.glidera) {
|
||||
configCache.glidera = defaultConfig.glidera;
|
||||
configCache.glidera = defaultConfig.glidera;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue