mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +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()
 | 
			
		||||
 | 
			
		||||
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;
 | 
			
		||||
 | 
			
		||||
appContext.setLayout(new MobileLayout());
 | 
			
		||||
appContext.start();
 | 
			
		||||
 | 
			
		||||
@ -131,7 +131,7 @@ function getUserThemes() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
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 [
 | 
			
		||||
        {
 | 
			
		||||
            "id": "en",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user