feat(mobile): hide editing toolbar on non-text note

This commit is contained in:
Elian Doran 2025-01-16 16:14:37 +02:00
parent 6caddc8004
commit 6f2538a070
No known key found for this signature in database

View File

@ -150,4 +150,11 @@ export default class ClassicEditorToolbar extends NoteContextAwareWidget {
return true;
}
async refreshWithNote() {
if (utils.isMobile()) {
this.toggleExt(await this.#shouldDisplay());
}
}
}