diff --git a/src/lib/components/SyncIndicator.svelte b/src/lib/components/SyncIndicator.svelte
new file mode 100644
index 0000000..e3b7354
--- /dev/null
+++ b/src/lib/components/SyncIndicator.svelte
@@ -0,0 +1,129 @@
+
+
+{#if label}
+
+
+ {#if expanded}
+
+
Zuletzt synchronisiert: {formatRelative(syncStatus.lastSynced)}
+
+
+ {/if}
+
+{/if}
+
+
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 1e9d8f4..979546e 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -13,6 +13,8 @@
import SearchFilter from '$lib/components/SearchFilter.svelte';
import UpdateToast from '$lib/components/UpdateToast.svelte';
import Toast from '$lib/components/Toast.svelte';
+ import SyncIndicator from '$lib/components/SyncIndicator.svelte';
+ import { network } from '$lib/client/network.svelte';
import type { SearchHit } from '$lib/server/recipes/search-local';
import type { WebHit } from '$lib/server/search/searxng';
@@ -203,6 +205,7 @@
void wishlistStore.refresh();
void searchFilterStore.load();
void pwaStore.init();
+ network.init();
document.addEventListener('click', handleClickOutside);
document.addEventListener('keydown', handleKey);
return () => {
@@ -213,6 +216,7 @@
+