Canary Fixes

This commit is contained in:
thororen1234 2025-04-09 23:27:48 -04:00
parent c17154e7cd
commit ffb8f7a7c9
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ export default definePlugin({
{
find: "PrivateChannel.renderAvatar",
replacement: {
match: /(highlighted:\i,)/,
match: /(subText:\i\(\),)/,
replace: "$1style:{color:`${$self.colorDMList(arguments[0])}`},"
},
predicate: () => settings.store.dmList,

View file

@ -58,7 +58,7 @@ interface DiscordStatus {
const StatusStyles = findByPropsLazy("statusItem");
// TODO: find clearCustomStatusHint original css/svg or replace
const PMenu = findComponentByCodeLazy(".menuItemLabel", ".menuItemInner");
const EmojiComponent = findComponentByCodeLazy(/\.translateSurrogatesToInlineEmoji\(\i.\i\),/);
const EmojiComponent = findComponentByCodeLazy(/\.translateSurrogatesToInlineEmoji\(\i\.name\);/);
const CustomStatusSettings = getUserSettingLazy("status", "customStatus")!;
const StatusModule = proxyLazy(() => {