Finish Suncord Port Hopefully (Equicord)

This commit is contained in:
thororen1234 2024-07-02 18:07:51 -04:00
parent ef086cd1c4
commit 0ef25db8ed
13 changed files with 171 additions and 110 deletions

View file

@ -5,7 +5,7 @@
*/
import { findGroupChildrenByChildId, NavContextMenuPatchCallback } from "@api/ContextMenu";
import { definePluginSettings } from "@api/Settings";
import { definePluginSettings, migratePluginSettings } from "@api/Settings";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { Flex, Menu } from "@webpack/common";
@ -93,6 +93,7 @@ const messageContextMenuPatch: NavContextMenuPatchCallback = (children, _props)
}
};
migratePluginSettings("ReplaceGoogleSearch", "Search");
export default definePlugin({
name: "ReplaceGoogleSearch",
description: "Replaces the Google search with different Engines",