[Bugfix] Make themes refetch correctly

This commit is contained in:
Beef 2023-04-01 16:21:25 +01:00
parent a9b8edd691
commit 21fc6e86a8

View file

@ -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",