Skip to content

Commit

Permalink
fix(Youtube Music): remove old if check for showBrowsing
Browse files Browse the repository at this point in the history
  • Loading branch information
darkvillager2 committed Nov 12, 2024
1 parent 39840dc commit ab6d85c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion websites/Y/YouTube Music/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"vi_VN": "Một dịch vụ phát nhạc với các album, đĩa đơn, video, bản remix, và các tiết mục trực tiếp chính thức và hơn nữa cho Android, iOS và máy tính. Tất cả đều tại đây."
},
"url": "music.youtube.com",
"version": "3.0.22",
"version": "3.0.23",
"logo": "https://cdn.rcd.gg/PreMiD/websites/Y/YouTube%20Music/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/Y/YouTube%20Music/assets/thumbnail.png",
"color": "#E40813",
Expand Down
2 changes: 0 additions & 2 deletions websites/Y/YouTube Music/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ presence.on("UpdateData", async () => {
}
}

if (!showBrowsing) return presence.clearActivity();

presenceData.type = ActivityType.Listening;
presence.setActivity(presenceData);
});
Expand Down

0 comments on commit ab6d85c

Please sign in to comment.