mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
client: Address self-review changes
This commit is contained in:
parent
ea34a1688c
commit
18515111ff
@ -4,6 +4,9 @@ import glob from "./services/glob.js";
|
|||||||
glob.setupGlobs()
|
glob.setupGlobs()
|
||||||
|
|
||||||
appContext.earlyInit();
|
appContext.earlyInit();
|
||||||
|
|
||||||
|
// A dynamic import is required for layouts since they initialize components which require translations.
|
||||||
const MobileLayout = (await import("./layouts/mobile_layout.js")).default;
|
const MobileLayout = (await import("./layouts/mobile_layout.js")).default;
|
||||||
|
|
||||||
appContext.setLayout(new MobileLayout());
|
appContext.setLayout(new MobileLayout());
|
||||||
appContext.start();
|
appContext.start();
|
||||||
|
@ -131,7 +131,7 @@ function getUserThemes() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getSupportedLocales() {
|
function getSupportedLocales() {
|
||||||
// TODO: Currently hardcoded, needs to read the lits of available languages.
|
// TODO: Currently hardcoded, needs to read the list of available languages.
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
"id": "en",
|
"id": "en",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user