mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(mobile): hide editing toolbar on non-text note
This commit is contained in:
parent
6caddc8004
commit
6f2538a070
@ -150,4 +150,11 @@ export default class ClassicEditorToolbar extends NoteContextAwareWidget {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async refreshWithNote() {
|
||||||
|
if (utils.isMobile()) {
|
||||||
|
this.toggleExt(await this.#shouldDisplay());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user