[Bugfix] Make themes refetch correctly
This commit is contained in:
parent
a9b8edd691
commit
21fc6e86a8
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export default function ThemeCard({ theme, index }: ThemeCardProps) {
|
||||||
icon: "ic_sync_24px",
|
icon: "ic_sync_24px",
|
||||||
label: "Refetch",
|
label: "Refetch",
|
||||||
onPress: () => {
|
onPress: () => {
|
||||||
fetchTheme(theme.id).then(() => {
|
fetchTheme(theme.id, theme.selected).then(() => {
|
||||||
if (theme.selected) {
|
if (theme.selected) {
|
||||||
showConfirmationAlert({
|
showConfirmationAlert({
|
||||||
title: "Theme refetched",
|
title: "Theme refetched",
|
||||||
|
|
Loading…
Reference in a new issue