mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
Fix colors in RCTDevLoadingView
Reviewed By: martinbigio Differential Revision: D2862821 fb-gh-sync-id: d763985cc499fc49d7ed1b25341d19b80e1be55d
This commit is contained in:
parent
1d819e9503
commit
04d14e5a2e
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user