mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Plugin Warning For NeverPausePreviews
This commit is contained in:
parent
67264460dc
commit
c3b5654900
1 changed files with 6 additions and 0 deletions
|
@ -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()",
|
Loading…
Reference in a new issue