fixed settings toggles
This commit is contained in:
parent
6bd39ccd2d
commit
b095512249
|
|
@ -58,7 +58,7 @@ const Settings = () => {
|
||||||
}
|
}
|
||||||
value={settings?.longPressOnDesktop ?? false}
|
value={settings?.longPressOnDesktop ?? false}
|
||||||
onChange={async (value) => {
|
onChange={async (value) => {
|
||||||
updateSettings.mutateAsync({ longPressOnDesktop: value });
|
await updateSettings.mutateAsync({ longPressOnDesktop: value });
|
||||||
refetch();
|
refetch();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
@ -67,7 +67,7 @@ const Settings = () => {
|
||||||
description={<>Show an animation when a tile is revealed.</>}
|
description={<>Show an animation when a tile is revealed.</>}
|
||||||
value={settings?.showRevealAnimation ?? true}
|
value={settings?.showRevealAnimation ?? true}
|
||||||
onChange={async (value) => {
|
onChange={async (value) => {
|
||||||
updateSettings.mutateAsync({ showRevealAnimation: value });
|
await updateSettings.mutateAsync({ showRevealAnimation: value });
|
||||||
refetch();
|
refetch();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue