1
0
Fork 0
forked from lthn/blockchain

price update + password text fix (#134)

This commit is contained in:
zetov 2019-10-14 23:07:03 +03:00 committed by cryptozoidberg
parent ac8401db73
commit 8ca969448a
9 changed files with 63 additions and 55 deletions

View file

@ -166,14 +166,14 @@
},
"MASTER_PASSWORD": {
"TITLE": "Update master password",
"OLD": "Old password",
"OLD": "Current password",
"NEW": "New password",
"CONFIRM": "New password confirmation",
"BUTTON": "Save"
},
"FORM_ERRORS": {
"PASS_REQUIRED": "Password is required",
"PASS_NOT_MATCH": "Old password not match",
"PASS_NOT_MATCH": "Incorrect password",
"CONFIRM_NOT_MATCH": "Confirm password not match"
},
"LAST_BUILD": "Current build: {{value}}",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -649,7 +649,7 @@ module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
/*! no static exports found */
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.9' };
var core = module.exports = { version: '2.6.10' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
@ -5800,8 +5800,8 @@ __webpack_require__.r(__webpack_exports__);
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(/*! D:\Projects\zano\src\gui\qt-daemon\html_source\src\polyfills.ts */"./src/polyfills.ts");
module.exports = __webpack_require__(/*! D:\Projects\zano\src\gui\qt-daemon\html_source\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\jit-polyfills.js */"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js");
__webpack_require__(/*! C:\Users\Admin\Desktop\zano\src\gui\qt-daemon\html_source\src\polyfills.ts */"./src/polyfills.ts");
module.exports = __webpack_require__(/*! C:\Users\Admin\Desktop\zano\src\gui\qt-daemon\html_source\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\jit-polyfills.js */"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js");
/***/ })

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -15,7 +15,8 @@ import {ModalService} from './_helpers/services/modal.service';
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit, OnDestroy {
intervalUpdatePriceState;
intervalUpdateContractsState;
expMedTsEvent;
onQuitRequest = false;
@ -547,6 +548,10 @@ export class AppComponent implements OnInit, OnDestroy {
console.log(error);
});
this.getMoneyEquivalent();
this.intervalUpdatePriceState = setInterval(() => {
this.getMoneyEquivalent();
}, 30000);
}
getMoneyEquivalent() {
@ -565,7 +570,7 @@ export class AppComponent implements OnInit, OnDestroy {
console.warn('api.coingecko.com error: ', error);
setTimeout(() => {
this.getMoneyEquivalent();
}, 60000);
}, 30000);
}
)
}
@ -673,6 +678,9 @@ export class AppComponent implements OnInit, OnDestroy {
if (this.intervalUpdateContractsState) {
clearInterval(this.intervalUpdateContractsState);
}
if (this.intervalUpdatePriceState) {
clearInterval(this.intervalUpdatePriceState);
}
this.expMedTsEvent.unsubscribe();
}

View file

@ -166,14 +166,14 @@
},
"MASTER_PASSWORD": {
"TITLE": "Update master password",
"OLD": "Old password",
"OLD": "Current password",
"NEW": "New password",
"CONFIRM": "New password confirmation",
"BUTTON": "Save"
},
"FORM_ERRORS": {
"PASS_REQUIRED": "Password is required",
"PASS_NOT_MATCH": "Old password not match",
"PASS_NOT_MATCH": "Incorrect password",
"CONFIRM_NOT_MATCH": "Confirm password not match"
},
"LAST_BUILD": "Current build: {{value}}",