File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,11 +18,10 @@ public static bool CheckIfNewerVersion(string otherStr)
1818 {
1919 int idxSplit = otherStr . IndexOf ( '-' ) ;
2020 Version otherNum = new ( otherStr [ ..idxSplit ] ) ;
21- // string otherStatus = otherStr[(idxSplit + 1)..];
21+ string otherStatus = otherStr [ ( idxSplit + 1 ) ..] ;
2222
2323 // TODO: This assumes that the VersionStatus is "alpha"
24- //bool isNotAlpha = otherStatus != VersionStatus;
25- bool isNotAlpha = ! otherStr . EndsWith ( VersionStatus ) ;
24+ bool isNotAlpha = otherStatus != VersionStatus ;
2625 bool isNewer = otherNum > VersionNum ;
2726 return isNotAlpha || isNewer ;
2827 }
Original file line number Diff line number Diff line change 1212
1313 <mah : MetroWindow .RightWindowCommands>
1414 <mah : WindowCommands >
15- <Button Style =" {StaticResource MahApps.Styles.Button.WindowCommands}" Click =" UpdatesButton_Click" >
15+ <Button Style =" {StaticResource MahApps.Styles.Button.WindowCommands}" ToolTip = " Check for updates " Click =" UpdatesButton_Click" >
1616 <mah : FontIcon Glyph ="  " FontFamily =" Segoe MDL2 Assets" FontSize =" 18" />
1717 </Button >
18- <Button Style =" {StaticResource MahApps.Styles.Button.WindowCommands}" Click =" AboutButton_Click" >
18+ <Button Style =" {StaticResource MahApps.Styles.Button.WindowCommands}" ToolTip = " About " Click =" AboutButton_Click" >
1919 <mah : FontIcon Glyph ="  " FontFamily =" Segoe MDL2 Assets" />
2020 </Button >
2121 </mah : WindowCommands >
You can’t perform that action at this time.
0 commit comments