Index: ios/chrome/browser/payments/cells/payments_text_item.h |
diff --git a/ios/chrome/browser/payments/cells/payments_text_item.h b/ios/chrome/browser/payments/cells/payments_text_item.h |
index ab3c143cd126c9e84743efe0ac7f4acbb76abe0f..ecc36719428756c98707ccd87d08fdf37d35621a 100644 |
--- a/ios/chrome/browser/payments/cells/payments_text_item.h |
+++ b/ios/chrome/browser/payments/cells/payments_text_item.h |
@@ -14,10 +14,16 @@ |
@interface PaymentsTextItem : CollectionViewItem |
// The message to display. |
-@property(nonatomic, copy) NSString* text; |
+@property(nonatomic, nullable, copy) NSString* text; |
// The image to display. |
-@property(nonatomic, strong) UIImage* image; |
+@property(nonatomic, nullable, strong) UIImage* image; |
+ |
+// The font of the text. Default is the regular Roboto font of size 14. |
+@property(nonatomic, null_resettable, copy) UIFont* textFont; |
lpromero
2017/04/11 15:59:06
This goes on the "styling" idea territory. Is this
Moe
2017/04/14 06:05:49
Removed the style properties from the item and mov
|
+ |
+// The color of the text. Default is the 900 tint color of the grey palette. |
+@property(nonatomic, null_resettable, copy) UIColor* textColor; |
@end |
@@ -31,10 +37,10 @@ |
@interface PaymentsTextCell : MDCCollectionViewCell |
// UILabel corresponding to |text| from the item. |
-@property(nonatomic, readonly, strong) UILabel* textLabel; |
+@property(nonatomic, readonly, nullable, strong) UILabel* textLabel; |
// UIImageView corresponding to |image| from the item. |
-@property(nonatomic, readonly, strong) UIImageView* imageView; |
+@property(nonatomic, readonly, nullable, strong) UIImageView* imageView; |
@end |