mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
chore(views/table): unnecessary code
This commit is contained in:
parent
ef80f104c0
commit
ba22d0706f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user