File tree 1 file changed +8
-1
lines changed
ios/chrome/browser/ui/payments
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 35
35
36
36
namespace {
37
37
const CGFloat kFooterCellHorizontalPadding = 16 ;
38
-
39
38
const CGFloat kButtonEdgeInset = 9 ;
40
39
const CGFloat kSeparatorEdgeInset = 14 ;
40
+ const CGFloat kSummaryPageInfoRowHeight = 55 ;
41
41
42
42
typedef NS_ENUM (NSInteger , SectionIdentifier) {
43
43
SectionIdentifierSummary = kSectionIdentifierEnumZero ,
@@ -398,6 +398,13 @@ - (CGFloat)collectionView:(UICollectionView*)collectionView
398
398
CollectionViewItem* item =
399
399
[self .collectionViewModel itemAtIndexPath: indexPath];
400
400
401
+ // TODO(crbug.com/879588): Remove this when/if cr_preferredHeightForWidth
402
+ // works on the next iOS 12 releases.
403
+ if (@available (iOS 12 , *)) {
404
+ if (item.type == ItemTypeSummaryPageInfo)
405
+ return kSummaryPageInfoRowHeight ;
406
+ }
407
+
401
408
UIEdgeInsets inset = [self collectionView: collectionView
402
409
layout: collectionView.collectionViewLayout
403
410
insetForSectionAtIndex: indexPath.section];
You can’t perform that action at this time.
0 commit comments