Skip to content

Commit

Permalink
Fix chat not closing when floating left sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
H7GhosT committed Dec 25, 2024
1 parent df8c4ee commit 3e16468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/appManagers/appImManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2274,7 +2274,7 @@ export class AppImManager extends EventListenerBase<{
if(chatIndex > 0) {
this.spliceChats(chatIndex, undefined, animate);
return;
} else if(mediaSizes.activeScreen === ScreenSize.medium) { // * floating sidebar case
} else if(mediaSizes.isFloatingLeftSidebar) {
this.selectTab(+!this.tabId, animate);
return;
}
Expand Down

0 comments on commit 3e16468

Please sign in to comment.