Setting darkBackgroundView to nil when adapting for light mode so it gets recreated later if we re-enter dark mode.

This commit is contained in:
Michel Fortin committed 2018-09-15 09:59:47 -04:00
1 parent 077e2b155f
commit 20d5b4e003
1 file changed
+1
+1
View File
@@ -282,6 +282,7 @@ static NSString *const SUUpdateAlertTouchBarIndentifier = @"" SPARKLE_BUNDLE_IDE
{
// Restore standard dark on light appearance
[self.darkBackgroundView removeFromSuperview];
self.darkBackgroundView = nil;
prefs.userStyleSheetEnabled = NO;
self.releaseNotesView.drawsBackground = YES;
}