Skip to content

Commit 3188d3c

Browse files
committed
time adjusted
1 parent 32c40ef commit 3188d3c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Source/NETworkManager/ViewModels/Settings/CredentialsViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public class CredentialsViewModel : ViewModelBase
1717
#region Variables
1818
private IDialogCoordinator dialogCoordinator;
1919
DispatcherTimer _dispatcherTimer;
20+
const int _lockTime = 120; // Seconds remaining until the ui is locked
2021

2122
private bool _credentialsFileExists;
2223
public bool CredentialsFileExists
@@ -425,7 +426,7 @@ private void TimerLockUIStart()
425426
{
426427
Locked = false;
427428

428-
TimeRemaining = TimeSpan.FromSeconds(10);
429+
TimeRemaining = TimeSpan.FromSeconds(_lockTime);
429430

430431
_dispatcherTimer.Start();
431432
}

0 commit comments

Comments
 (0)