Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.

Commit 09660b6

Browse files
committed
Fix reused times being saved on close
1 parent b1ec4ed commit 09660b6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

AutoBright/My Project/Application.myapp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
<ShutdownMode>0</ShutdownMode>
77
<EnableVisualStyles>true</EnableVisualStyles>
88
<AuthenticationMode>0</AuthenticationMode>
9-
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
9+
<SaveMySettingsOnExit>false</SaveMySettingsOnExit>
1010
</MyApplicationData>

AutoBright/My Project/Application1.Designer.vb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AutoBright/frmSettings.vb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ Public Class frmSettings
8989
dimmingDownStart = My.Settings.CivilTwilightStartToday.AddMinutes(-1 * My.Settings.TransitionTime + My.Settings.Offset)
9090
dimmingDownEnd = dimmingDownStart.AddMinutes(My.Settings.TransitionTime) 'Calculate times for start and end of day->night transition
9191

92-
9392
dimmingUpStart = My.Settings.CivilTwilightEndTomorrow.AddMinutes(-1 * My.Settings.TransitionTime + -1 * My.Settings.Offset)
9493
dimmingUpEnd = dimmingUpStart.AddMinutes(My.Settings.TransitionTime) 'Calculate times for start and end of night->day transition
9594

0 commit comments

Comments
 (0)