Removed deleteProfile() as it is not used.

This commit is contained in:
Brendon Duncan 2018-06-01 11:53:04 +12:00
commit f483fd81d8

View file

@ -116,19 +116,16 @@ angular.module('copayApp.services')
};
root.storeNewProfile = function(profile, cb) {
//storage.create('profile', profile.toObj(), cb);
secureStorageService.set('profile', profile.toObj(), cb);
};
root.storeProfile = function(profile, cb) {
//storage.set('profile', profile.toObj(), cb);
secureStorageService.set('profile', profile.toObj(), cb);
};
root.getProfile = function(cb) {
$log.debug("getProfile() 1 8");
//storage.get('profile', function(err, str) {
secureStorageService.get('profile', function(err, str) {
if (err || !str)
@ -148,10 +145,6 @@ angular.module('copayApp.services')
});
};
root.deleteProfile = function(cb) {
storage.remove('profile', cb);
};
root.setFeedbackInfo = function(feedbackValues, cb) {
storage.set('feedback', feedbackValues, cb);
};