Explorar o código

ref: we love artificial delays

Sv443 hai 1 ano
pai
achega
9dae1e3b58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/features/index.ts

+ 1 - 1
src/features/index.ts

@@ -482,7 +482,7 @@ export const featInfo = {
     default: false,
     enable: noop,
     disable: noop,
-    change: () => confirm(t("lyrics_cache_changed_clear_confirm")) && clearLyricsCache(),
+    change: () => setTimeout(() => confirm(t("lyrics_cache_changed_clear_confirm")) && clearLyricsCache(), 200),
     advanced: true,
     textAdornment: adornments.experimental,
   },