chore: removed unnecessary warning

This commit is contained in:
Aman Harwara
2022-12-21 00:27:16 +05:30
parent 9c260c02f1
commit 1828f80ba5
2 changed files with 0 additions and 6 deletions

View File

@@ -235,10 +235,6 @@ export class NoteViewController implements ItemViewControllerInterface {
const isTemplate = this.isTemplateNote
if (typeof document !== 'undefined' && document.hidden) {
void this.application.alertService.alert(InfoStrings.SavingWhileDocumentHidden)
}
if (isTemplate) {
await this.insertTemplatedNote()
}