From 9572e5792fe79f30c3dffef8b72c0b7de3874724 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Fri, 24 Dec 2021 20:02:15 +0700 Subject: [PATCH] Add force update wish history --- src/components/Checkbox.svelte | 2 +- src/locales/en.json | 1 + src/routes/wish/import.svelte | 93 +++++++++++++++++++++++++++++----- src/routes/wish/index.svelte | 2 +- 4 files changed, 82 insertions(+), 16 deletions(-) diff --git a/src/components/Checkbox.svelte b/src/components/Checkbox.svelte index 564db084..d4c99ff7 100644 --- a/src/components/Checkbox.svelte +++ b/src/components/Checkbox.svelte @@ -4,6 +4,6 @@ diff --git a/src/locales/en.json b/src/locales/en.json index f4ff9325..ceb027cb 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -180,6 +180,7 @@ "and", "pity from your wish history" ], + "forceUpdateCheck": "Force update wish history (enable only if your wish history is not updating)", "header": [ "Import and backup your Genshin Impact wish history to keep it more than 6 months. Also automatically track your pity and statistic about your wishes!", "You can also enable Drive Sync on Setting to synchronize and backup the history to your Google Drive", diff --git a/src/routes/wish/import.svelte b/src/routes/wish/import.svelte index 7a7212cd..4a5d470d 100644 --- a/src/routes/wish/import.svelte +++ b/src/routes/wish/import.svelte @@ -1,8 +1,18 @@