Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(841)

Unified Diff: remoting/ios/app/remoting_theme.mm

Issue 2957943002: [CRD iOS] Add the host setup instruction page (Closed)
Patch Set: Add comment Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/ios/app/remoting_theme.mm
diff --git a/remoting/ios/app/remoting_theme.mm b/remoting/ios/app/remoting_theme.mm
index fde5c9ae68e1535edb5ee271a04d0c42a620f22d..16f08cc859365e2b2db826c718313b85512d5aa7 100644
--- a/remoting/ios/app/remoting_theme.mm
+++ b/remoting/ios/app/remoting_theme.mm
@@ -46,7 +46,7 @@
static UIColor* color;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
- color = [UIColor colorWithRed:0.75f green:0.75f blue:0.75f alpha:1.f];
+ color = [UIColor colorWithWhite:0.87f alpha:1.f];
});
return color;
}
@@ -55,7 +55,16 @@
static UIColor* color;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
- color = [UIColor colorWithRed:0.20f green:0.70f blue:0.20f alpha:1.f];
+ color = [UIColor colorWithRed:0.40f green:0.75f blue:0.40f alpha:1.f];
nicholss 2017/06/27 16:36:02 Oh good, you got rid of that horrible green color
Yuwei 2017/06/27 20:46:45 This is basically to get rid of the opacity settin
+ });
+ return color;
+}
+
++ (UIColor*)setupListBackgroundColor {
+ static UIColor* color;
+ static dispatch_once_t onceToken;
+ dispatch_once(&onceToken, ^{
+ color = [UIColor colorWithWhite:1.f alpha:0.9f];
});
return color;
}

Powered by Google App Engine
This is Rietveld 408576698