Skip to content

Commit

Permalink
Remove Active Contacts view (#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
mquevill authored Nov 29, 2024
1 parent 9434fe5 commit df4c054
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
4 changes: 0 additions & 4 deletions css/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ html.private-mode [href^='https://www.facebook.com/1'] .b6ax4al1.i54nktwv.z2vv26
html.private-mode [role='navigation'] [role='row'] .b6ax4al1.gvxzyvdx {
filter: blur(5px);
}
/* Chat list: active contacts */
html.private-mode [role='navigation'] .s9ok87oh.bf1zulr9.s9ljgwtm.lxqftegz.frfouenu.r7bn319e.bonavkto.djs4p424.bdao358l.alzwoclg.cgu29s5g.i15ihif8.sl27f92c.m8h3af8h.l7ghb35v.kjdc1dyq.kmwttqpk.aeinzg81.srn514ro.rl78xhln.om3e55n1.g4tp4svg.i85zmo3j.jl2a5g8c.b0eko5f3.fwlpnqze.il7dmu95z {
filter: blur(5px);
}
/* Chat list: person tiny heads */
html.private-mode [role='row'] .aglvbi8b.om3e55n1.i8zpp7h3.g4tp4svg {
filter: blur(3px);
Expand Down
10 changes: 3 additions & 7 deletions source/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,20 +297,16 @@ ipc.answerMain('show-chats-view', async () => {
await selectOtherListViews(1);
});

ipc.answerMain('show-people-view', async () => {
await selectOtherListViews(2);
});

ipc.answerMain('show-marketplace-view', async () => {
await selectOtherListViews(3);
await selectOtherListViews(2);
});

ipc.answerMain('show-requests-view', async () => {
await selectOtherListViews(4);
await selectOtherListViews(3);
});

ipc.answerMain('show-archive-view', async () => {
await selectOtherListViews(5);
await selectOtherListViews(4);
});

ipc.answerMain('toggle-video-autoplay', () => {
Expand Down
6 changes: 0 additions & 6 deletions source/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,12 +554,6 @@ Press Command/Ctrl+R in Caprine to see your changes.
sendAction('show-chats-view');
},
},
{
label: 'Show Active Contacts',
click() {
sendAction('show-people-view');
},
},
{
label: 'Show Marketplace Chats',
click() {
Expand Down

0 comments on commit df4c054

Please sign in to comment.