Skip to content
代码片段 群组 项目
提交 51dca567 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Minor cleanup.

上级 68f342ad
No related branches found
No related tags found
无相关合并请求
......@@ -57,11 +57,9 @@ export default {
name: 'App',
methods: {
setThemeMode(theme) {
if (theme === 'com.silabs.ss.platform.theme.dark' || theme === 'dark') {
this.$q.dark.set(true)
} else {
this.$q.dark.set(false)
}
let darkMode =
theme === 'com.silabs.ss.platform.theme.dark' || theme === 'dark'
this.$q.dark.set(darkMode)
},
setGenerationInProgress(progressMessage) {
if (progressMessage != null && progressMessage.length > 0) {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册