feat(config): strongly typed config

fixes #15097
This commit is contained in:
Manu Mtz.-Almeida
2018-08-08 23:53:04 +02:00
parent 6f2827ad25
commit 01690452e9
5 changed files with 61 additions and 17 deletions

View File

@ -31,10 +31,10 @@ export class RefresherContent {
protected componentDidLoad() {
if (!this.pullingIcon) {
this.pullingIcon = this.config.get('ionPullIcon', 'arrow-down');
this.pullingIcon = this.config.get('refreshingIcon', 'arrow-down');
}
if (!this.refreshingSpinner) {
this.refreshingSpinner = this.config.get('ionRefreshingSpinner', this.config.get('spinner', 'lines'));
this.refreshingSpinner = this.config.get('refreshingSpinner', this.config.get('spinner', 'lines'));
}
}