diff --git a/PlatformIndicators/index.jsx b/PlatformIndicators/index.jsx index 66bb238..42572e0 100644 --- a/PlatformIndicators/index.jsx +++ b/PlatformIndicators/index.jsx @@ -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"; @@ -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) => { diff --git a/PlatformIndicators/package.json b/PlatformIndicators/package.json index f731e21..6160550 100644 --- a/PlatformIndicators/package.json +++ b/PlatformIndicators/package.json @@ -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.",