BetterFolders: Fix unread indicator & read all buttons being duplicated (#776)
This commit is contained in:
parent
6b26c12bfa
commit
d931790ed0
@ -1,4 +1,5 @@
|
||||
.vc-bf-folder-sidebar [class*="wrapper-"] > [class*="listItem-"]:first-of-type {
|
||||
.vc-bf-folder-sidebar [class*="wrapper-"] > [class*="listItem-"]:first-of-type,
|
||||
.vc-bf-folder-sidebar [class*="unreadMentionsIndicator"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -62,10 +62,10 @@ export default definePlugin({
|
||||
renderReadAllButton: () => <ReadAllButton />,
|
||||
|
||||
start() {
|
||||
addServerListElement(ServerListRenderPosition.In, this.renderReadAllButton);
|
||||
addServerListElement(ServerListRenderPosition.Above, this.renderReadAllButton);
|
||||
},
|
||||
|
||||
stop() {
|
||||
removeServerListElement(ServerListRenderPosition.In, this.renderReadAllButton);
|
||||
removeServerListElement(ServerListRenderPosition.Above, this.renderReadAllButton);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user