diff options
| author | Fuwn <[email protected]> | 2024-01-15 04:16:06 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-15 04:16:06 -0800 |
| commit | d786b8fef38549c113a768f1fd15026d71a40cc5 (patch) | |
| tree | fefd3fc0691d2a8d4376b62a33b338c618683d3d /src/lib | |
| parent | fix(settings): social button description (diff) | |
| download | due.moe-d786b8fef38549c113a768f1fd15026d71a40cc5.tar.xz due.moe-d786b8fef38549c113a768f1fd15026d71a40cc5.zip | |
feat(debug): clear lists button
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/Settings/Categories/Debug.svelte | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/Settings/Categories/Debug.svelte b/src/lib/Settings/Categories/Debug.svelte index c21b6dd7..2e2e64bd 100644 --- a/src/lib/Settings/Categories/Debug.svelte +++ b/src/lib/Settings/Categories/Debug.svelte @@ -9,6 +9,20 @@ <button on:click={() => { + localStorage.removeItem('anime'); + localStorage.removeItem('manga'); + addNotification( + options({ + heading: 'Anime and manga list caches successfully cleared' + }) + ); + }}>Clear anime and manga list caches</button +> + +<p /> + +<button + on:click={() => { settings.reset(); addNotification( options({ |