mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(all): strict boolean conditions
This commit is contained in:
@ -30,10 +30,10 @@ export class RefresherContent {
|
||||
@Prop() refreshingText?: string;
|
||||
|
||||
protected componentDidLoad() {
|
||||
if (!this.pullingIcon) {
|
||||
if (this.pullingIcon === undefined) {
|
||||
this.pullingIcon = this.config.get('refreshingIcon', 'arrow-down');
|
||||
}
|
||||
if (!this.refreshingSpinner) {
|
||||
if (this.refreshingSpinner === undefined) {
|
||||
this.refreshingSpinner = this.config.get('refreshingSpinner', this.config.get('spinner', 'lines'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user