1
0
mirror of https://github.com/tooot-app/app synced 2025-01-11 08:54:42 +01:00

Fix push settings

This commit is contained in:
xmflsct 2022-12-16 21:18:58 +01:00
parent 4725287554
commit 44aff1f283

View File

@ -92,7 +92,7 @@ const TabMePush: React.FC = () => {
updateInstancePushAlert({ updateInstancePushAlert({
alerts: { alerts: {
...instancePush?.alerts, ...instancePush?.alerts,
[alert]: instancePush?.alerts[alert] [alert]: !instancePush?.alerts[alert]
} }
}) })
) )
@ -115,7 +115,7 @@ const TabMePush: React.FC = () => {
updateInstancePushAlert({ updateInstancePushAlert({
alerts: { alerts: {
...instancePush?.alerts, ...instancePush?.alerts,
[type]: instancePush?.alerts[type] [type]: !instancePush?.alerts[type]
} }
}) })
) )