From 1d993362119147e591cd9d856752e14f75c2bea7 Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Tue, 26 Jul 2022 07:56:19 +0200 Subject: [PATCH] omg --- .env | 4 ++-- src/components/sliderTab.ts | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.env b/.env index d615f234..c47e4dcf 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ API_ID=1025907 API_HASH=452b0359b988148995f22ff0f4229750 VERSION=1.5.0 -VERSION_FULL=1.5.0 (211) -BUILD=211 +VERSION_FULL=1.5.0 (212) +BUILD=212 diff --git a/src/components/sliderTab.ts b/src/components/sliderTab.ts index ef017150..490144b1 100644 --- a/src/components/sliderTab.ts +++ b/src/components/sliderTab.ts @@ -108,10 +108,7 @@ export default class SliderSuperTab implements SliderTab { this.slider.tabs.delete(this); this.container.remove(); this.scrollable.destroy(); - } - - if(this.listenerSetter) { - this.listenerSetter.removeAll(); + this.listenerSetter?.removeAll(); } }