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

Commit

Permalink
Fix reused times being saved on close
Browse files Browse the repository at this point in the history
  • Loading branch information
jamerst committed Aug 29, 2017
1 parent b1ec4ed commit 09660b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AutoBright/My Project/Application.myapp
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
<SaveMySettingsOnExit>false</SaveMySettingsOnExit>
</MyApplicationData>
2 changes: 1 addition & 1 deletion AutoBright/My Project/Application1.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion AutoBright/frmSettings.vb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ Public Class frmSettings
dimmingDownStart = My.Settings.CivilTwilightStartToday.AddMinutes(-1 * My.Settings.TransitionTime + My.Settings.Offset)
dimmingDownEnd = dimmingDownStart.AddMinutes(My.Settings.TransitionTime) 'Calculate times for start and end of day->night transition


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

Expand Down

0 comments on commit 09660b6

Please sign in to comment.