mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
web/ResetSettingsButton: move to settings subdir & reduce timeout to 2s
This commit is contained in:
parent
3cdd615734
commit
b3954b9209
2 changed files with 6 additions and 5 deletions
|
@ -23,7 +23,7 @@
|
|||
text: $t("button.reset"),
|
||||
color: "red",
|
||||
main: true,
|
||||
timeout: 5000,
|
||||
timeout: 2000,
|
||||
action: () => resetSettings(),
|
||||
},
|
||||
],
|
|
@ -1,11 +1,12 @@
|
|||
<script lang="ts">
|
||||
import { t } from "$lib/i18n/translations";
|
||||
|
||||
import SettingsCategory from "$components/settings/SettingsCategory.svelte";
|
||||
import SettingsToggle from "$components/buttons/SettingsToggle.svelte";
|
||||
import ResetSettingsButton from "$components/buttons/ResetSettingsButton.svelte";
|
||||
import TransferSettings from "$components/settings/TransferSettings.svelte";
|
||||
import { storedSettings } from "$lib/state/settings";
|
||||
|
||||
import SettingsToggle from "$components/buttons/SettingsToggle.svelte";
|
||||
import TransferSettings from "$components/settings/TransferSettings.svelte";
|
||||
import SettingsCategory from "$components/settings/SettingsCategory.svelte";
|
||||
import ResetSettingsButton from "$components/settings/ResetSettingsButton.svelte";
|
||||
</script>
|
||||
|
||||
<SettingsCategory sectionId="debug" title={$t("settings.advanced.debug")}>
|
||||
|
|
Loading…
Reference in a new issue