From 21fc6e86a8fa4f9e1a27819321335aade8cd27c3 Mon Sep 17 00:00:00 2001 From: Beef Date: Sat, 1 Apr 2023 16:21:25 +0100 Subject: [PATCH] [Bugfix] Make themes refetch correctly --- src/ui/settings/components/ThemeCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/settings/components/ThemeCard.tsx b/src/ui/settings/components/ThemeCard.tsx index 295a6af..5924644 100644 --- a/src/ui/settings/components/ThemeCard.tsx +++ b/src/ui/settings/components/ThemeCard.tsx @@ -40,7 +40,7 @@ export default function ThemeCard({ theme, index }: ThemeCardProps) { icon: "ic_sync_24px", label: "Refetch", onPress: () => { - fetchTheme(theme.id).then(() => { + fetchTheme(theme.id, theme.selected).then(() => { if (theme.selected) { showConfirmationAlert({ title: "Theme refetched",