Skip to content

Commit df4c054

Browse files
authored
Remove Active Contacts view (#2252)
1 parent 9434fe5 commit df4c054

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

css/browser.css

-4
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ html.private-mode [href^='https://www.facebook.com/1'] .b6ax4al1.i54nktwv.z2vv26
133133
html.private-mode [role='navigation'] [role='row'] .b6ax4al1.gvxzyvdx {
134134
filter: blur(5px);
135135
}
136-
/* Chat list: active contacts */
137-
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 {
138-
filter: blur(5px);
139-
}
140136
/* Chat list: person tiny heads */
141137
html.private-mode [role='row'] .aglvbi8b.om3e55n1.i8zpp7h3.g4tp4svg {
142138
filter: blur(3px);

source/browser.ts

+3-7
Original file line numberDiff line numberDiff line change
@@ -297,20 +297,16 @@ ipc.answerMain('show-chats-view', async () => {
297297
await selectOtherListViews(1);
298298
});
299299

300-
ipc.answerMain('show-people-view', async () => {
301-
await selectOtherListViews(2);
302-
});
303-
304300
ipc.answerMain('show-marketplace-view', async () => {
305-
await selectOtherListViews(3);
301+
await selectOtherListViews(2);
306302
});
307303

308304
ipc.answerMain('show-requests-view', async () => {
309-
await selectOtherListViews(4);
305+
await selectOtherListViews(3);
310306
});
311307

312308
ipc.answerMain('show-archive-view', async () => {
313-
await selectOtherListViews(5);
309+
await selectOtherListViews(4);
314310
});
315311

316312
ipc.answerMain('toggle-video-autoplay', () => {

source/menu.ts

-6
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,6 @@ Press Command/Ctrl+R in Caprine to see your changes.
554554
sendAction('show-chats-view');
555555
},
556556
},
557-
{
558-
label: 'Show Active Contacts',
559-
click() {
560-
sendAction('show-people-view');
561-
},
562-
},
563557
{
564558
label: 'Show Marketplace Chats',
565559
click() {

0 commit comments

Comments
 (0)