Questify & SilentTyping: Fixes. (#1271)
* Fixes. * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
parent
6e104de4fa
commit
4653c35fd6
3 changed files with 2 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ import { decimalToRGB, formatLowerBadge, isDarkish, leftClick, middleClick, q, Q
|
|||
import { openQuestifySettingsModal } from "./settingsModal";
|
||||
|
||||
const GuildlessServerListItemComponent = findComponentByCodeLazy("tooltip:", "lowerBadgeSize:");
|
||||
const ServerListItemPillComponent = findComponentByCodeLazy('"pill":"empty"');
|
||||
const ServerListItemPillComponent = findComponentByCodeLazy("=!1,hovered:", "=!1,unread:", "=!1,disabled:");
|
||||
const ServerListItemLowerBadgeComponent = findComponentByCodeLazy("BADGE_NOTIFICATION_BACKGROUND", "let{count:");
|
||||
|
||||
interface QuestButtonLowerBadgeProps {
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ export default definePlugin({
|
|||
predicate: () => getQuestifySettings().disableQuestsEverything,
|
||||
replacement: [
|
||||
{
|
||||
match: /(?<="family-center"\).{0,15}:null,)/,
|
||||
match: /(?<="family-center"\)(?:&&undefined)?:null,)/,
|
||||
replace: "null&&"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ const settings = definePluginSettings({
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
export function buildExtraRoleContextMenuItems(role: Role, guild: Guild, popoutRef?: React.RefObject<any>) {
|
||||
if (!role) return { before: [], after: [] };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue