do not print read values from storage in mobile

This commit is contained in:
Matias Alejo Garcia 2016-01-15 11:04:29 -03:00
commit e49459dc7f
2 changed files with 3 additions and 5 deletions

View file

@ -47,8 +47,8 @@ angular
// Trim output in mobile
if (window.cordova) {
v = v.toString();
if (v.length > 1000) {
v = v.substr(0, 997) + '...';
if (v.length > 300) {
v = v.substr(0, 297) + '...';
}
}
} catch (e) {

View file

@ -39,8 +39,6 @@ angular.module('copayApp.services')
var reader = new FileReader();
reader.onloadend = function(e) {
if (this.result)
$log.debug("Read: ", this.result);
return cb(null, this.result)
}
@ -77,7 +75,7 @@ angular.module('copayApp.services')
if (lodash.isObject(v))
v = JSON.stringify(v);
if (!lodash.isString(v)){
if (!lodash.isString(v)) {
v = v.toString();
}