aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-12 22:09:01 -0700
committerFuwn <[email protected]>2025-06-12 22:09:01 -0700
commite49698b8b75f0120a196036bb7b8e234394a48c1 (patch)
tree3bfb63833895122dbc398606a016577def3d3b1a /src
parentfeat: Move remaining localStorage usages to localforage (diff)
downloaddue.moe-e49698b8b75f0120a196036bb7b8e234394a48c1.tar.xz
due.moe-e49698b8b75f0120a196036bb7b8e234394a48c1.zip
refactor(Settings): Update localStorage references
Diffstat (limited to 'src')
-rw-r--r--src/lib/Settings/Categories/Cache.svelte6
-rw-r--r--src/lib/Settings/Categories/Debug.svelte4
2 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/Settings/Categories/Cache.svelte b/src/lib/Settings/Categories/Cache.svelte
index e65b8081..deed695c 100644
--- a/src/lib/Settings/Categories/Cache.svelte
+++ b/src/lib/Settings/Categories/Cache.svelte
@@ -1,13 +1,9 @@
<script>
- import tooltip from '$lib/Tooltip/tooltip';
import settings from '$stores/settings';
</script>
<small class="opaque">
- All caches are stored in your browser's <code
- title="Local browser key/value pair store"
- use:tooltip>localStorage</code
- >. Clearing
+ Clearing
<a href="https://due.moe">due.moe</a>'s site data will clear these caches too.
</small>
diff --git a/src/lib/Settings/Categories/Debug.svelte b/src/lib/Settings/Categories/Debug.svelte
index c21edb44..847d3908 100644
--- a/src/lib/Settings/Categories/Debug.svelte
+++ b/src/lib/Settings/Categories/Debug.svelte
@@ -52,10 +52,10 @@
await localforage.clear();
addNotification(
options({
- heading: '<code>localStorage</code> successfully cleared'
+ heading: 'local database successfully cleared'
})
);
- }}>{$locale().debug.clearLocalStorage.title} <code>localStorage</code></button
+ }}>{$locale().debug.clearLocalStorage.title} local database</button
>
<SettingHint lineBreak>
{$locale().debug.clearLocalStorage.hint1}