Fix Conflicts + Invite Button

This commit is contained in:
thororen1234 2025-02-07 15:54:20 -05:00
parent 5c04fac366
commit 9b8ab3bf97
6 changed files with 74 additions and 27 deletions

View file

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { definePluginSettings } from "@api/Settings";
import { definePluginSettings, Settings } from "@api/Settings";
import { Link } from "@components/Link";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
@ -63,7 +63,7 @@ export default definePlugin({
},
{
find: "\"data-selenium-video-tile\":",
predicate: () => settings.store.voiceBackground,
predicate: () => !Settings.plugins.FullVCPFP.enabled && settings.store.voiceBackground,
replacement: [
{
match: /(?<=function\((\i),\i\)\{)(?=let.{20,40},style:)/,