From e2575239f20945a9c6cacd8f2ad513fe24a6177d Mon Sep 17 00:00:00 2001 From: John Knox Date: Tue, 21 Aug 2018 12:38:56 -0700 Subject: [PATCH] Add background color to iOS diagnostic screen Summary: Some apps have a default background color, for example black, making the diagnostic screen fully black. Fix this by making sure the bg is always white so the text is readable. Reviewed By: passy Differential Revision: D9400682 fbshipit-source-id: a45744f833cb7fe5ca7db4dcdacc09f304670032 --- iOS/SonarKit/FlipperDiagnosticsViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/SonarKit/FlipperDiagnosticsViewController.m b/iOS/SonarKit/FlipperDiagnosticsViewController.m index d6e89980d..0d0c3ff48 100644 --- a/iOS/SonarKit/FlipperDiagnosticsViewController.m +++ b/iOS/SonarKit/FlipperDiagnosticsViewController.m @@ -20,6 +20,7 @@ [self.scrollView addSubview:self.stateLabel]; self.scrollView.contentSize = self.stateLabel.frame.size; [self.view addSubview:self.scrollView]; + self.view.backgroundColor = [UIColor whiteColor]; } - (void)onUpdate {