feat: add warning to note options menu if note size is >0.5mb (#851)
This commit is contained in:
@@ -672,9 +672,7 @@ export class NoteView extends PureComponent<Props, State> {
|
||||
this.application.alertService.alert(STRING_DELETE_LOCKED_ATTEMPT);
|
||||
return;
|
||||
}
|
||||
const title = this.note.safeTitle().length
|
||||
? `'${this.note.title}'`
|
||||
: 'this note';
|
||||
const title = this.note.title.length ? `'${this.note.title}'` : 'this note';
|
||||
const text = StringDeleteNote(title, permanently);
|
||||
if (
|
||||
await confirmDialog({
|
||||
|
||||
Reference in New Issue
Block a user