diff options
| author | Fuwn <[email protected]> | 2023-08-27 22:35:34 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-08-27 22:35:34 -0700 |
| commit | d1f050f1b89d3428a17c0601e4f65f2e87188302 (patch) | |
| tree | 4b5200d094564f700231c51546c05750c4bd2f9a /src/stores | |
| parent | feat(settings): rounding info text (diff) | |
| download | due.moe-d1f050f1b89d3428a17c0601e4f65f2e87188302.tar.xz due.moe-d1f050f1b89d3428a17c0601e4f65f2e87188302.zip | |
feat(settings): add reset settings
Diffstat (limited to 'src/stores')
| -rw-r--r-- | src/stores/cacheMangaMinutes.ts | 2 | ||||
| -rw-r--r-- | src/stores/roundDownChapters.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/cacheMangaMinutes.ts b/src/stores/cacheMangaMinutes.ts index f4c714ad..6da460b2 100644 --- a/src/stores/cacheMangaMinutes.ts +++ b/src/stores/cacheMangaMinutes.ts @@ -2,7 +2,7 @@ import { browser } from '$app/environment'; import { writable } from 'svelte/store'; const cacheMangaMinutes = writable<string>( - browser ? localStorage.getItem('cacheMangaMinutes') ?? '120' : '120' + browser ? localStorage.getItem('cacheMangaMinutes') ?? '60' : '60' ); cacheMangaMinutes.subscribe((value) => { diff --git a/src/stores/roundDownChapters.ts b/src/stores/roundDownChapters.ts index f4ac3513..8cbdbdc1 100644 --- a/src/stores/roundDownChapters.ts +++ b/src/stores/roundDownChapters.ts @@ -2,7 +2,7 @@ import { browser } from '$app/environment'; import { writable } from 'svelte/store'; const roundDownChapters = writable<string>( - browser ? localStorage.getItem('roundDownChapters') ?? 'false' : 'false' + browser ? localStorage.getItem('roundDownChapters') ?? 'true' : 'true' ); roundDownChapters.subscribe((value) => { |