From 2efa0bcdc0c816076273fdf0ec07bb1c952c7c4e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 24 Jul 2024 04:40:10 -0700 Subject: feat(layout): browser notifications --- src/lib/Settings/Categories/Display.svelte | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'src/lib') diff --git a/src/lib/Settings/Categories/Display.svelte b/src/lib/Settings/Categories/Display.svelte index dfdb9b6f..cdeff6b7 100644 --- a/src/lib/Settings/Categories/Display.svelte +++ b/src/lib/Settings/Categories/Display.svelte @@ -184,22 +184,20 @@ {/if} -{#if browser && window.matchMedia('(display-mode: standalone)').matches} -

+

- - - Periodically check and display recent AniList notifications as a native platform notification -
- This may be useful for users who have installed due.moe as a PWA or on mobile devices, since AniList - has no official mobile app. -
-
-{/if} + + + Periodically check for and send recent AniList notifications as native platform notifications +
+ This may be useful for users who have installed due.moe as a PWA or using on mobile devices, since + AniList has no official mobile app. +
+

-- cgit v1.2.3