mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(web+server): map improvements (#2498)
* feat(web+server): map improvements * add number format double to fix mobile
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { browser } from '$app/environment';
|
||||
import { MapSettings } from '$lib/components/map-page/map-settings-modal.svelte';
|
||||
import { persisted } from 'svelte-local-storage-store';
|
||||
|
||||
const initialTheme =
|
||||
@@ -19,3 +20,8 @@ export const locale = persisted<string | undefined>('locale', undefined, {
|
||||
stringify: (obj) => obj ?? ''
|
||||
}
|
||||
});
|
||||
|
||||
export const mapSettings = persisted<MapSettings>('map-settings', {
|
||||
allowDarkMode: true,
|
||||
onlyFavorites: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user