From 20d5b4e0031d81f69c64179c7180d166cd27ee5c Mon Sep 17 00:00:00 2001 From: Michel Fortin Date: Sat, 15 Sep 2018 09:59:47 -0400 Subject: [PATCH] Setting `darkBackgroundView` to nil when adapting for light mode so it gets recreated later if we re-enter dark mode. --- Sparkle/SUUpdateAlert.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m index 113fb2a7..55dcdfc2 100644 --- a/Sparkle/SUUpdateAlert.m +++ b/Sparkle/SUUpdateAlert.m @@ -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; }