From 04d14e5a2eac29fbecaf0d6e3973ff3fe2177a42 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Wed, 27 Jan 2016 11:31:22 -0800 Subject: [PATCH] Fix colors in RCTDevLoadingView Reviewed By: martinbigio Differential Revision: D2862821 fb-gh-sync-id: d763985cc499fc49d7ed1b25341d19b80e1be55d --- React/Modules/RCTDevLoadingView.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/React/Modules/RCTDevLoadingView.m b/React/Modules/RCTDevLoadingView.m index e6d20261e..b652f7ce9 100644 --- a/React/Modules/RCTDevLoadingView.m +++ b/React/Modules/RCTDevLoadingView.m @@ -79,12 +79,12 @@ RCT_EXPORT_MODULE() NSString *source; if (URL.fileURL) { - _window.backgroundColor = [UIColor greenColor]; - _label.textColor = [UIColor whiteColor]; - source = @"pre-bundled file"; - } else { _window.backgroundColor = [UIColor blackColor]; _label.textColor = [UIColor grayColor]; + source = @"pre-bundled file"; + } else { + _window.backgroundColor = [UIColor colorWithHue:1./3 saturation:1 brightness:.35 alpha:1]; + _label.textColor = [UIColor whiteColor]; source = [NSString stringWithFormat:@"%@:%@", URL.host, URL.port]; }