Skip to content

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

mobile: fix typo in properties key

Ammar Ahmed9b480950dac2
diff --git a/apps/mobile/app/components/list-items/headers/section-header.tsx b/apps/mobile/app/components/list-items/headers/section-header.tsx
index e53f4033e..c5e83a4e5 100644
--- a/apps/mobile/app/components/list-items/headers/section-header.tsx
+++ b/apps/mobile/app/components/list-items/headers/section-header.tsx
@@ -57,7 +57,7 @@ export const SectionHeader = React.memo<
}: SectionHeaderProps) {
const { colors } = useThemeColors();
const isCompactModeEnabled = useIsCompactModeEnabled(
- dataType as "note" | "notebook"
+ dataType as "note" | "notebook" | "searchResult"
);
return (
@@ -168,7 +168,7 @@ export const SectionHeader = React.memo<
? "notebooksListMode"
: dataType === "searchResult"
? "searchListMode"
- : "noteListMode"]: !isCompactModeEnabled
+ : "notesListMode"]: !isCompactModeEnabled
? "compact"
: "normal"
});