From 06c885339971064c9789b5c84100b4da468dfa65 Mon Sep 17 00:00:00 2001 From: kmmiio99o Date: Sat, 9 May 2026 15:24:22 +0200 Subject: [PATCH] fix crashing in Themes tab don't ask me how it did it --- src/lib/ui/settings/patches/tabs.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/lib/ui/settings/patches/tabs.tsx b/src/lib/ui/settings/patches/tabs.tsx index 0e411e1..5e0d337 100644 --- a/src/lib/ui/settings/patches/tabs.tsx +++ b/src/lib/ui/settings/patches/tabs.tsx @@ -30,8 +30,6 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { usePredicate: row.usePredicate, useTrailing: row.useTrailing, useTitle: row.title, - useBadge: () => undefined, - useIcon: () => row.icon, onPress: wrapOnPress(row.onPress, null, row.render, row.title()), withArrow: true, ...row.rawTabsConfig, @@ -52,9 +50,6 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { type: "route", title: () => "ShiggyCord", useTitle: () => "ShiggyCord", - useIcon: () => undefined, - useBadge: () => undefined, - IconComponent: () => undefined, screen: { route: "VendettaCustomPage", getComponent: () => CustomPageRenderer, @@ -64,9 +59,6 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { type: "route", title: () => "ShiggyCord", useTitle: () => "ShiggyCord", - useIcon: () => undefined, - useBadge: () => undefined, - IconComponent: () => undefined, screen: { route: "SHIGGYCORD_CUSTOM_PAGE", getComponent: () => CustomPageRenderer, @@ -76,9 +68,6 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { type: "route", title: () => "ShiggyCord", useTitle: () => "ShiggyCord", - useIcon: () => undefined, - useBadge: () => undefined, - IconComponent: () => undefined, screen: { route: "BUNNY_CUSTOM_PAGE", getComponent: () => CustomPageRenderer,