Skip to content

Commit 25e22f4

Browse files
committed
Ignore beta builds when comparing Backyard versions.
Dark mode off by default.
1 parent 0854d7c commit 25e22f4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

source/src/Application/AppSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static class Settings
2222
public static bool AutoBreakLine = true;
2323
public static string Locale = Locales.DefaultLocale;
2424
public static bool EnableFormLevelBuffering = true;
25-
public static bool DarkTheme = true;
25+
public static bool DarkTheme = false;
2626

2727
public static int LoreEntriesPerPage { get { return _loreEntriesPerPage > 0 ? Math.Max(_loreEntriesPerPage, 10) : int.MaxValue; } }
2828
public static string LoreEntriesPerPageSerialize

source/src/Application/Program.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ static int Main(string[] args)
4444
{
4545
// Check last version
4646
VersionNumber appVersion;
47-
if (Backyard.GetAppVersion(out appVersion) && AppSettings.BackyardLink.LastVersion != appVersion)
48-
AppSettings.BackyardLink.Enabled = false; // Do not auto-connect to newer versions
47+
if (Backyard.GetAppVersion(out appVersion)
48+
&& (AppSettings.BackyardLink.LastVersion.Major != appVersion.Major || AppSettings.BackyardLink.LastVersion.Minor != appVersion.Minor))
49+
{
50+
AppSettings.BackyardLink.Enabled = false; // Do not auto-connect to newer versions (ignoring beta builds)
51+
}
4952
else
5053
{
5154
if (Backyard.EstablishConnection() == Backyard.Error.NoError)

0 commit comments

Comments
 (0)