Show "share profile with group" banner.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent ae1908c40c
commit 584ddab0b9

@ -14,6 +14,7 @@
+ (UIColor *)ows_darkGrayColor;
+ (UIColor *)ows_yellowColor;
+ (UIColor *)ows_reminderYellowColor;
+ (UIColor *)ows_reminderDarkYellowColor;
+ (UIColor *)ows_greenColor;
+ (UIColor *)ows_redColor;
+ (UIColor *)ows_blackColor;

@ -52,6 +52,11 @@
return [UIColor colorWithRed:252.f / 255.f green:240.f / 255.f blue:217.f / 255.f alpha:1.f];
}
+ (UIColor *)ows_reminderDarkYellowColor
{
return [UIColor colorWithRGBHex:0xFCDA91];
}
+ (UIColor *)ows_greenColor
{
// green: #BF4240

@ -791,7 +791,7 @@ typedef enum : NSUInteger {
[self createBannerWithTitle:
NSLocalizedString(@"MESSAGES_VIEW_GROUP_PROFILE_WHITELIST_BANNER",
@"Text for banner in group conversation view that offers to share your profile with this group.")
bannerColor:[UIColor ows_reminderYellowColor]
bannerColor:[UIColor ows_reminderDarkYellowColor]
tapSelector:@selector(groupProfileWhitelistBannerWasTapped:)];
}
}

Loading…
Cancel
Save