Skip to content

Commit

Permalink
Fix small schedule next item display bug + update version
Browse files Browse the repository at this point in the history
  • Loading branch information
StijnOostdam committed Dec 20, 2020
1 parent 559e972 commit 9c55c83
Show file tree
Hide file tree
Showing 4 changed files with 559 additions and 555 deletions.
2 changes: 1 addition & 1 deletion Winleafs.Models/Models/Scheduling/Schedule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public Tuple<DayOfWeek, TimeTrigger> GetNextTimeTrigger()
todaysIndex = dayIndex;
}

var dayOfWeek = todaysIndex == 6 ? DayOfWeek.Monday : (DayOfWeek)(todaysIndex + 1); //Convert our index back to the DayOfWeek enum
var dayOfWeek = todaysIndex == 6 ? DayOfWeek.Sunday : (DayOfWeek)(todaysIndex + 1); //Convert our index back to the DayOfWeek enum
return new Tuple<DayOfWeek, TimeTrigger>(dayOfWeek, nextTrigger);
}
else
Expand Down
2 changes: 1 addition & 1 deletion Winleafs.Models/Models/UserSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Winleafs.Models.Models
public class UserSettings
{
public static readonly string APPLICATIONNAME = "Winleafs";
public static readonly string APPLICATIONVERSION = "v1.1.5";
public static readonly string APPLICATIONVERSION = "v1.1.6";

public static readonly string SettingsFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), APPLICATIONNAME);

Expand Down
2 changes: 1 addition & 1 deletion Winleafs.Setup/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" UpgradeCode="42ee9157-4382-4852-bed7-72b25fb2d0bf" Version="1.1.5" Language="1033" Name="Winleafs" Manufacturer="Stijn Oostdam">
<Product Id="*" UpgradeCode="42ee9157-4382-4852-bed7-72b25fb2d0bf" Version="1.1.6" Language="1033" Name="Winleafs" Manufacturer="Stijn Oostdam">
<Package Compressed="yes" />
<Media Id="1" Cabinet="myapplication.cab" EmbedCab="yes" />

Expand Down
Loading

0 comments on commit 9c55c83

Please sign in to comment.