From 727603ff46c443017e0785442a54987e94992c5d Mon Sep 17 00:00:00 2001 From: cocobo1 Date: Sat, 9 May 2026 08:09:09 +0000 Subject: [PATCH] fix: settings on 329.3 --- src/lib/ui/settings/patches/tabs.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/ui/settings/patches/tabs.tsx b/src/lib/ui/settings/patches/tabs.tsx index 9623034..3de056e 100644 --- a/src/lib/ui/settings/patches/tabs.tsx +++ b/src/lib/ui/settings/patches/tabs.tsx @@ -21,7 +21,9 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { .flatMap(sect => sect.map(row => ({ [row.key]: { type: "pressable", + // title was renamed to useTitle, both are here for compatibility (thanks kmiioo) https://codeberg.org/raincord/rain/pulls/52 title: row.title, + useTitle: row.title, icon: row.icon, IconComponent: () => , usePredicate: row.usePredicate, @@ -44,6 +46,7 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { VendettaCustomPage: { type: "route", title: () => "Kettu", + useTitle: () => "Kettu", screen: { route: "VendettaCustomPage", getComponent: () => CustomPageRenderer @@ -52,6 +55,7 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { PUPU_CUSTOM_PAGE: { type: "route", title: () => "Kettu", + useTitle: () => "Kettu", screen: { route: "PUPU_CUSTOM_PAGE", getComponent: () => CustomPageRenderer @@ -60,6 +64,7 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) { BUNNY_CUSTOM_PAGE: { type: "route", title: () => "Kettu", + useTitle: () => "Kettu", screen: { route: "BUNNY_CUSTOM_PAGE", getComponent: () => CustomPageRenderer