Skip to content

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

mobile: sync with core changes

ammarahm-eda57eaf9be614
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
index c2151e542..a134402c6 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
@@ -214,9 +214,9 @@ export const useEditor = (
const defaultNotebook = db.settings?.getDefaultNotebook();
if (!state.current.onNoteCreated && defaultNotebook) {
onNoteCreated(id, {
- type: defaultNotebook.type,
+ type: defaultNotebook.topic ? "topic" : "notebook",
id: defaultNotebook.id,
- notebook: defaultNotebook.notebookId
+ notebook: defaultNotebook.topic
});
} else {
state.current?.onNoteCreated && state.current.onNoteCreated(id);
diff --git a/apps/mobile/app/screens/settings/title-format.tsx b/apps/mobile/app/screens/settings/title-format.tsx
index e5cf056be..750c4d674 100644
--- a/apps/mobile/app/screens/settings/title-format.tsx
+++ b/apps/mobile/app/screens/settings/title-format.tsx
@@ -53,7 +53,7 @@ export const TitleFormat = () => {
{"\n"}
$date$: Current date{"\n"}
$time$: Current time{"\n"}
- $count$: Number of untitled notes + 1{"\n"}
+ $count$: Number of notes + 1{"\n"}
$headline$: Use starting line of the note as title{"\n"}
</Paragraph>
</>