chore: remove instances of Vendetta in places

This hopefully shouldn't break things, unless some kind of plugin depend on finding stuff with the string `Vendetta`. That is a very bad practice though
This commit is contained in:
PalmDevs 2024-02-08 23:58:41 +07:00
parent 6728bb9270
commit d0b9d63d12
No known key found for this signature in database
GPG key ID: ADC432EE981495A3
16 changed files with 38 additions and 35 deletions

View file

@ -48,7 +48,7 @@ export default function Developer() {
{window.__vendetta_loader?.features.loaderConfig && <FormSection title="Loader config">
<FormSwitchRow
label="Load from custom url"
subLabel={"Load Vendetta from a custom endpoint."}
subLabel={"Load Revenge from a custom endpoint."}
leading={<FormRow.Icon source={getAssetIDByName("copy")} />}
value={loaderConfig.customLoadUrl.enabled}
onValueChange={(v: boolean) => {
@ -60,8 +60,8 @@ export default function Developer() {
<FormInput
value={loaderConfig.customLoadUrl.url}
onChange={(v: string) => loaderConfig.customLoadUrl.url = v}
placeholder="http://localhost:4040/vendetta.js"
title="VENDETTA URL"
placeholder="http://localhost:4040/revenge.js"
title="REVENGE URL"
/>
<FormDivider />
</>}
@ -80,7 +80,7 @@ export default function Developer() {
label="Asset Browser"
leading={<FormRow.Icon source={getAssetIDByName("ic_image")} />}
trailing={FormRow.Arrow}
onPress={() => navigation.push("VendettaCustomPage", {
onPress={() => navigation.push("RevengeCustomPage", {
title: "Asset Browser",
render: AssetBrowser,
})}
@ -100,8 +100,8 @@ export default function Developer() {
options: [
// @ts-expect-error
// Of course, to trigger an error, we need to do something incorrectly. The below will do!
{ label: "Vendetta", onPress: () => navigation.push("VendettaCustomPage", { render: () => <undefined /> }) },
{ label: "Discord", isDestructive: true, onPress: () => navigation.push("VendettaCustomPage", { noErrorBoundary: true }) },
{ label: "Revenge", onPress: () => navigation.push("RevengeCustomPage", { render: () => <undefined /> }) },
{ label: "Discord", isDestructive: true, onPress: () => navigation.push("RevengeCustomPage", { noErrorBoundary: true }) },
],
})}
/>