Default limitImageHeight true
This commit is contained in:
parent
e1c66136b0
commit
6abd8874f2
1 changed files with 1 additions and 5 deletions
|
@ -1,13 +1,9 @@
|
||||||
import {onMount} from "svelte";
|
import {onMount} from "svelte";
|
||||||
|
|
||||||
function initFromLocalStorage(storageKey, initalValue = null) {
|
|
||||||
return window.localStorage.getItem(storageKey) ?? initalValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function useSettings() {
|
export default function useSettings() {
|
||||||
let lastSearch = $state(null),
|
let lastSearch = $state(null),
|
||||||
imageGridColumns = $state(6),
|
imageGridColumns = $state(6),
|
||||||
limitImageHeight = $state(false),
|
limitImageHeight = $state(true),
|
||||||
postGridPreviewQuality = $state('preview'),
|
postGridPreviewQuality = $state('preview'),
|
||||||
blacklist = $state([
|
blacklist = $state([
|
||||||
'gore',
|
'gore',
|
||||||
|
|
Loading…
Reference in a new issue