fix: set auto-connect to false by default

fixes #25
This commit is contained in:
2023-11-26 22:17:52 +01:00
parent e38d952e1d
commit f73b8c1453
2 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
import type {Action} from "svelte/action"
import {persistentWritable} from "$lib/storage"
import type { Action } from "svelte/action"
import { persistentWritable } from "$lib/storage"
export interface UserPreferences {
backup: boolean
@@ -13,7 +13,7 @@ export const theme = persistentWritable("user-theme", {
export const userPreferences = persistentWritable<UserPreferences>("user-preferences", {
backup: false,
autoConnect: true,
autoConnect: false,
})
export const preference: Action<HTMLInputElement, keyof UserPreferences> = (node, key) => {