Skip to content

Commit

Permalink
[PlatformIndicators] Update Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
domi-btnr committed Aug 9, 2024
1 parent 9337129 commit 1c3bd3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions PlatformIndicators/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {DOM, Patcher, ReactUtils, Webpack, Utils} from "@api";
import Styles from "@styles";
import React from "react";
import Settings from "./modules/settings";
import {useStateFromStores} from "./modules/shared";
import {findInReactTree} from "./modules/utils";
import StatusIndicators from "./components/indicators";
import SettingsPanel from "./components/settings";
Expand All @@ -24,7 +23,7 @@ export default class PlatformIndicators {
patchDMs() {
const UserContext = React.createContext(null);
const [ChannelWrapper, Key_CW] = Webpack.getWithKey(Webpack.Filters.byStrings("isGDMFacepileEnabled"));
const [NameWrapper, Key_NW] = Webpack.getWithKey(Webpack.Filters.byStrings(".nameAndDecorators"));
const [NameWrapper, Key_NW] = Webpack.getWithKey(x => x.toString().includes(".nameAndDecorators") && !x.toString().includes("FocusRing"));
const ChannelClasses = Webpack.getByKeys("channel", "decorator");

Patcher.after(ChannelWrapper, Key_CW, (_, __, res) => {
Expand Down
2 changes: 1 addition & 1 deletion PlatformIndicators/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "APlatformIndicators",
"version": "1.5.8",
"version": "1.5.9",
"author": "Strencher",
"authorId": "415849376598982656",
"description": "Adds indicators for every platform that the user is using.",
Expand Down

0 comments on commit 1c3bd3a

Please sign in to comment.