Plugin Warning For NeverPausePreviews

This commit is contained in:
thororen1234 2024-12-13 15:21:38 -05:00
parent 67264460dc
commit c3b5654900

View file

@ -18,11 +18,17 @@
import { EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types";
import { Forms } from "@webpack/common";
export default definePlugin({
name: "NeverPausePreviews",
description: "Prevents in-call/PiP previews (screenshare, streams, etc) from pausing even if the client loses focus",
authors: [EquicordDevs.vappstar],
settingsAboutComponent: () => <>
<Forms.FormText className="platform-warning">
This plugin will cause discord to use more resources than normal.
</Forms.FormText>
</>,
patches: [
{
find: "streamerPaused()",