fix: Fixed issue where multiple trashed items on mobile could not be deleted permanently

This commit is contained in:
Aman Harwara
2023-11-27 21:34:10 +05:30
parent bf6f8a8b62
commit 5660df577d
4 changed files with 20 additions and 5 deletions

View File

@@ -213,7 +213,7 @@ export class NotesController
return false
}
const title = Strings.trashItemsTitle
const title = permanently ? Strings.deleteItemsPermanentlyTitle : Strings.trashItemsTitle
let noteTitle = undefined
if (this.selectedNotesCount === 1) {
const selectedNote = this.getSelectedNotesList()[0]