From f4e1e2206d2d148ea51370ef33c2de336719004e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 12 Jan 2024 20:43:40 -0800 Subject: feat(settings): disable notifications option --- src/routes/+layout.svelte | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/routes') diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 91d22613..44a9de84 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -7,11 +7,11 @@ import { browser } from '$app/environment'; import HeadTitle from '$lib/HeadTitle.svelte'; import '../app.css'; - import { fly } from 'svelte/transition'; import { readable, type Readable } from 'svelte/store'; import { navigating } from '$app/stores'; import Notifications from 'svelte-notifications'; import Notification from '$lib/Notification/Notification.svelte'; + import Root from '$lib/Root.svelte'; export let data; @@ -28,7 +28,6 @@ return () => unsubscribe(); }); - const animationDelay = 100; $: way = data.url.includes('/user') ? 200 @@ -102,22 +101,7 @@

- {#if $settings.displayDisableAnimations} - - {:else} - {#key data.url} -

- -
- {/key} - {/if} + -- cgit v1.2.3