mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
mobile: sync with core changes
This commit is contained in:
committed by
Abdullah Atta
parent
c5a264270c
commit
a57eaf9be6
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user