Skip to content

Commit

Permalink
chore: 替换夜间模式的位置
Browse files Browse the repository at this point in the history
  • Loading branch information
mhduiy committed Jan 12, 2025
1 parent c39cb78 commit 7b27115
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/qml/pages/SettingPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,17 @@ ItemPage {
}
}

SettingItem {
title: "夜间模式"
description: "将所有控件设置为深色主题"
controlItem: MSwitchButton {
status: App.themeType
onStatusChanged: {
App.themeType = status
}
}
}

SettingItem {
title: "OpenGL渲染模式"
description: "强制使用OpenGL渲染,如果设备镜像功能不可用,可尝试开启此开关,重启应用生效"
Expand All @@ -209,17 +220,6 @@ ItemPage {
}
}
}

SettingItem {
title: "夜间模式"
description: "将所有控件设置为深色主题"
controlItem: MSwitchButton {
status: App.themeType
onStatusChanged: {
App.themeType = status
}
}
}
}
}
}
Expand Down

0 comments on commit 7b27115

Please sign in to comment.