refactor(views): move full height detection to rendererer

This commit is contained in:
Elian Doran
2025-07-14 12:56:17 +03:00
parent b29c3eff6e
commit 8c56315313
5 changed files with 7 additions and 18 deletions

View File

@@ -47,7 +47,13 @@ export default class NoteListRenderer {
}
get isFullHeight() {
return this.viewMode?.isFullHeight;
switch (this.viewType) {
case "list":
case "grid":
return false;
default:
return true;
}
}
async renderList() {