Fix colors in RCTDevLoadingView

Reviewed By: martinbigio

Differential Revision: D2862821

fb-gh-sync-id: d763985cc499fc49d7ed1b25341d19b80e1be55d
This commit is contained in:
Pieter De Baets 2016-01-27 11:31:22 -08:00 committed by facebook-github-bot-9
parent 1d819e9503
commit 04d14e5a2e
1 changed files with 4 additions and 4 deletions

View File

@ -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];
}