{#if currentMemory} goto(AppRoute.PHOTOS)} forceDark>

{currentMemory.title}

{#if !galleryInView}

{autoPlayIndex + 1}/{currentMemory.assets.length}

{/if}
{#if galleryInView}
{/if}
{#key currentMemory.assets[autoPlayIndex].id} {/key}

{DateTime.fromISO(currentMemory.assets[0].fileCreatedAt).toLocaleString( DateTime.DATE_FULL )}

{currentMemory.assets[autoPlayIndex].exifInfo?.city || ''} {currentMemory.assets[autoPlayIndex].exifInfo?.country || ''}

(galleryInView = true)} on:hidden={() => (galleryInView = false)} bottom={-200} >
{/if}