Skip to content

Commit 1cdbe6b

Browse files
committed
用户配置初始化时变更默认参数
1 parent 826b968 commit 1cdbe6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ComputerLock/Configuration/AppSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void Initialize(HotkeyTools hotkeyTools)
119119
/// <summary>
120120
/// 启用密码框
121121
/// </summary>
122-
public bool EnablePasswordBox { get; set; } = true;
122+
public bool EnablePasswordBox { get; set; } = false;
123123

124124
/// <summary>
125125
/// 自动隐藏密码框
@@ -139,7 +139,7 @@ public void Initialize(HotkeyTools hotkeyTools)
139139
/// <summary>
140140
/// 屏幕解锁方式
141141
/// </summary>
142-
public ScreenUnlockMethods ScreenUnlockMethod { get; set; } = ScreenUnlockMethods.Password;
142+
public ScreenUnlockMethods ScreenUnlockMethod { get; set; } = ScreenUnlockMethods.Hotkey;
143143

144144
/// <summary>
145145
/// 锁屏状态展示

0 commit comments

Comments
 (0)