Skip to content

Commit b7e4578

Browse files
committed
hotfix
1 parent 20f5ee2 commit b7e4578

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

dist/vendetta.js

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/badge/badges.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
// please help.
2+
// tbd will probably change badge method and ask in chat bleeeeeeeeeh
3+
4+
import { after } from "../patcher";
5+
import { ReactNative as RN, React } from "../metro/common";
6+
import { findByName } from "../metro/filters";
7+
8+
const { View } = RN;
9+
let unpatch;
210

311
export function initBadges()
412
{
5-
13+
const profileBadges = findByName("ProfileBadges", false);
14+
unpatch = after("default", profileBadges, (args, res) => {
15+
let badge = res;
16+
17+
})
618
}
719

820

src/lib/command/debug.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export default [
1313
> **Discord Version**: ${debugInfo.discord.version} (Build ${debugInfo.discord.build})
1414
> **Hermes**: ${debugInfo.hermes.version}
1515
> **Bytecode**: ${debugInfo.hermes.bytecodeVersion}
16-
1716
> **Device**: ${debugInfo.device.brand}
1817
> **OS**: ${debugInfo.os.name} ${debugInfo.os.version}
1918
> **Codename/Machine ID**: ${debugInfo.device.codename}`

src/lib/command/shaders.tsx

Whitespace-only changes.

src/ui/settings/components/Card.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ interface CardProps {
5858
actions?: Action[];
5959
overflowTitle?: string;
6060
overflowActions?: OverflowAction[];
61+
color?: string;
6162
}
6263

6364
export default function Card(props: CardProps) {

src/ui/settings/components/PluginCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function PluginCard({ item: plugin, index }: CardWrapper<Plugin>)
5151
}
5252
},
5353
{
54-
icon: "RetryIcon",
54+
icon:"RetryIcon",
5555
label: "Refetch",
5656
onPress: async () => {
5757
stopThenStart(plugin, () => {

0 commit comments

Comments
 (0)