Skip to content

Commit

Permalink
invert setting
Browse files Browse the repository at this point in the history
  • Loading branch information
night committed Sep 1, 2024
1 parent 4695ea8 commit e5fec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/hide_sidebar_elements/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class HideSidebarElementsModule {
loadHideStories() {
const setting = settings.get(SettingIds.SIDEBAR);
const enabled = hasFlag(setting, SidebarFlags.STORIES);
document.body.classList.toggle(styles.hideStories, enabled);
document.body.classList.toggle(styles.hideStories, !enabled);
}

loadHideOfflineChannels() {
Expand Down

0 comments on commit e5fec8c

Please sign in to comment.