Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix last heading not shown in toc

Ammar Ahmed00c38b6bcc3e
diff --git a/apps/mobile/app/components/sheets/toc/index.tsx b/apps/mobile/app/components/sheets/toc/index.tsx
index 0c56a4d65..865ae5afa 100644
--- a/apps/mobile/app/components/sheets/toc/index.tsx
+++ b/apps/mobile/app/components/sheets/toc/index.tsx
@@ -129,6 +129,7 @@ const TableOfContents = ({ toc, close }: TableOfContentsProps) => {
<TableOfContentsItem item={item} close={close} />
)}
keyExtractor={(item) => item.id}
+ ListFooterComponent={<View style={{ height: 50 }} />}
/>
</View>
);