mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 22:25:53 +02:00
Fix/Improve linting
This commit is contained in:
@@ -82,13 +82,16 @@ export class SettingsBox implements OnInit, OnDestroy {
|
||||
.subscribe(text => {
|
||||
if (this.dropdown.isOpen) {
|
||||
this.zone.run(() => this.time = text);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
this.time = text;
|
||||
}
|
||||
});
|
||||
}
|
||||
ngOnDestroy() {
|
||||
this.subscription && this.subscription.unsubscribe();
|
||||
if (this.subscription) {
|
||||
this.subscription.unsubscribe();
|
||||
}
|
||||
}
|
||||
toggleVolume() {
|
||||
this.volume = this.volume === 0 ? 50 : 0;
|
||||
|
||||
Reference in New Issue
Block a user