move lid watch toggle into lock settings
This commit is contained in:
+1
-1
@@ -196,7 +196,6 @@ Singleton {
|
||||
wallpaperPath: general.wallpaperPath,
|
||||
desktopIcons: general.desktopIcons,
|
||||
dateFormat: general.dateFormat,
|
||||
lidWatch: general.lidWatch,
|
||||
color: {
|
||||
mode: general.color.mode,
|
||||
smart: general.color.smart,
|
||||
@@ -254,6 +253,7 @@ Singleton {
|
||||
return {
|
||||
recolorLogo: lock.recolorLogo,
|
||||
enableFprint: lock.enableFprint,
|
||||
lidWatch: lock.lidWatch,
|
||||
showNotifContent: lock.showNotifContent,
|
||||
showNotifIcon: lock.showNotifIcon,
|
||||
maxFprintTries: lock.maxFprintTries,
|
||||
|
||||
@@ -10,7 +10,6 @@ JsonObject {
|
||||
}
|
||||
property string dateFormat: "ddd d MMM - hh:mm:ss"
|
||||
property bool desktopIcons: false
|
||||
property bool lidWatch: true
|
||||
property Idle idle: Idle {
|
||||
}
|
||||
property string logo: ""
|
||||
|
||||
@@ -4,6 +4,7 @@ JsonObject {
|
||||
property int blurAmount: 40
|
||||
property bool enableFprint: true
|
||||
property int maxFprintTries: 3
|
||||
property bool lidWatch: true
|
||||
property bool recolorLogo: false
|
||||
property bool showNotifContent: false
|
||||
property bool showNotifIcon: true
|
||||
|
||||
@@ -60,8 +60,8 @@ SettingsPage {
|
||||
}
|
||||
|
||||
SettingSwitch {
|
||||
name: "Lid watch"
|
||||
object: Config.general
|
||||
name: "Laptop lid watch to lock session"
|
||||
object: Config.lock
|
||||
setting: "lidWatch"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user