mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
chore(views/table): unnecessary code
This commit is contained in:
@@ -208,14 +208,6 @@ export default class TableView extends ViewMode<StateInfo> {
|
||||
}
|
||||
}
|
||||
|
||||
private getTheme(): Theme {
|
||||
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||
return themeQuartz.withPart(colorSchemeDark)
|
||||
} else {
|
||||
return themeQuartz;
|
||||
}
|
||||
}
|
||||
|
||||
onEntitiesReloaded({ loadResults }: EventData<"entitiesReloaded">): boolean | void {
|
||||
if (!this.api) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user