提交 197501e7 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

wip(uts android): 支持 manifestJson darkmode

上级 84a103df
...@@ -66,7 +66,10 @@ export function uniAppManifestPlugin(): Plugin { ...@@ -66,7 +66,10 @@ export function uniAppManifestPlugin(): Plugin {
splashScreen splashScreen
)}` )}`
: '' : ''
const darkMode = manifestJson.app?.darkmode || manifestJson.darkmode const darkMode =
typeof manifestJson.app?.darkmode === 'boolean'
? manifestJson.app?.darkmode
: manifestJson.darkmode
const darkModeCode = darkMode const darkModeCode = darkMode
? `override darkmode: boolean = ${darkMode}` ? `override darkmode: boolean = ${darkMode}`
: '' : ''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册