1
0
Fork 0

Default limitImageHeight true

This commit is contained in:
Leon Grünewald 2024-10-24 01:06:58 +02:00
parent e1c66136b0
commit 6abd8874f2

View file

@ -1,13 +1,9 @@
import {onMount} from "svelte";
function initFromLocalStorage(storageKey, initalValue = null) {
return window.localStorage.getItem(storageKey) ?? initalValue;
}
export default function useSettings() {
let lastSearch = $state(null),
imageGridColumns = $state(6),
limitImageHeight = $state(false),
limitImageHeight = $state(true),
postGridPreviewQuality = $state('preview'),
blacklist = $state([
'gore',