Skip to content

Commit 1843761

Browse files
Merge pull request #24 from nullinside-development-group/fix/version
fix: Fixing new version dialog always popping up
2 parents 8871269 + 1c44faa commit 1843761

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/TwitchStreamingTools/Views/MainWindow.axaml.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ protected override void OnInitialized() {
5858
}
5959

6060
if (serverVersion.name?.Equals(localVersion, StringComparison.InvariantCultureIgnoreCase) ?? true) {
61+
// Had to add this because code clean up tools were removing the "redundant" return statement.
62+
// which was causing the check to always be ignored.
63+
#if !DEBUG
64+
return;
65+
#endif
6166
}
6267

6368
#if !DEBUG

0 commit comments

Comments
 (0)