merge some of 3963 changes
This commit is contained in:
parent
7e773ea9ff
commit
662a2bdecd
2 changed files with 4 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ import { Forms, React } from "@webpack/common";
|
|||
import hideBugReport from "./hideBugReport.css?managed";
|
||||
|
||||
const KbdStyles = findByPropsLazy("key", "combo");
|
||||
const BugReporterExperiment = findLazy(m => m?.definition?.id === "2024-09_bug_reporter");
|
||||
const BugReporterExperiment = findLazy(m => m?.definition?.name === "2026-01-bug-reporter");
|
||||
|
||||
const modKey = IS_MAC ? "cmd" : "ctrl";
|
||||
const altKey = IS_MAC ? "opt" : "alt";
|
||||
|
|
@ -130,7 +130,7 @@ export default definePlugin({
|
|||
}
|
||||
],
|
||||
|
||||
start: () => !BugReporterExperiment.getCurrentConfig().hasBugReporterAccess && enableStyle(hideBugReport),
|
||||
start: () => !BugReporterExperiment.getConfig().hasBugReporterAccess && enableStyle(hideBugReport),
|
||||
stop: () => disableStyle(hideBugReport),
|
||||
|
||||
settingsAboutComponent: () => {
|
||||
|
|
|
|||
|
|
@ -236,8 +236,8 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
// Fix sizes for mobile indicators which aren't online
|
||||
match: /(?<=\(\i\.status,)(\i)(?=,(\i),\i\))/,
|
||||
replace: (_, userStatus, isMobile) => `${isMobile}?"online":${userStatus}`
|
||||
match: /(?<=\(\i\.status,)(\i)(?=,\{.{0,15}isMobile:(\i))/,
|
||||
replace: '$2?"online":$1'
|
||||
},
|
||||
{
|
||||
// Make isMobile true no matter the status
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue