mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	refactor(server/utils): isMac/isWin - replace fn with boolean
those values cannot change during runtime, => there is no need to have these checks as dynamic function, instead just export the boolean value directly
This commit is contained in:
		| @@ -77,7 +77,7 @@ const defaultOptions: DefaultOption[] = [ | ||||
|     { name: "revisionSnapshotTimeInterval", value: "600", isSynced: true }, | ||||
|     { name: "revisionSnapshotNumberLimit", value: "-1", isSynced: true }, | ||||
|     { name: "protectedSessionTimeout", value: "600", isSynced: true }, | ||||
|     { name: "zoomFactor", value: isWindows() ? "0.9" : "1.0", isSynced: false }, | ||||
|     { name: "zoomFactor", value: isWindows ? "0.9" : "1.0", isSynced: false }, | ||||
|     { name: "overrideThemeFonts", value: "false", isSynced: false }, | ||||
|     { name: "mainFontFamily", value: "theme", isSynced: false }, | ||||
|     { name: "mainFontSize", value: "100", isSynced: false }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user