mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-08 05:49:49 -06:00
feat(mobile): hide editing toolbar on non-text note
This commit is contained in:
@@ -150,4 +150,11 @@ export default class ClassicEditorToolbar extends NoteContextAwareWidget {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
async refreshWithNote() {
|
||||
if (utils.isMobile()) {
|
||||
this.toggleExt(await this.#shouldDisplay());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user