fixed settings toggles

This commit is contained in:
MasterGordon 2024-10-27 19:19:07 +01:00
parent 6bd39ccd2d
commit b095512249
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ const Settings = () => {
}
value={settings?.longPressOnDesktop ?? false}
onChange={async (value) => {
updateSettings.mutateAsync({ longPressOnDesktop: value });
await updateSettings.mutateAsync({ longPressOnDesktop: value });
refetch();
}}
/>
@ -67,7 +67,7 @@ const Settings = () => {
description={<>Show an animation when a tile is revealed.</>}
value={settings?.showRevealAnimation ?? true}
onChange={async (value) => {
updateSettings.mutateAsync({ showRevealAnimation: value });
await updateSettings.mutateAsync({ showRevealAnimation: value });
refetch();
}}
/>