diff --git a/src/App.vue b/src/App.vue index 3ee4fa2..f940768 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,24 +51,35 @@ const submitPassphrase = (close: () => void) => { if (passphraseValid.value) close() } -const loading = computed(() => notes.value.length === 0 || passphraseRequired.value || !activeNotesSource.value) +const loading = computed( + () => notes.value.length === 0 || passphraseRequired.value || !activeNotesSource.value +) provide('loading', loading) + +const topBarHeight = 52 +const topBarHeightWithSafeArea = computed(() => `calc(${topBarHeight}px + var(--safe-area-top))`)