Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 88d5fa7

Browse files
authored
fix action delay with reactions menu (#2121)
1 parent e738618 commit 88d5fa7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Classes/Issues/Comments/Reactions/IssueCommentReactionCell.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protocol IssueCommentReactionCellDelegate: class {
1717
func didTapAddReaction(cell: IssueCommentReactionCell, sender: UIView)
1818
}
1919

20-
final class IssueCommentReactionCell: IssueCommentBaseCell,
20+
final class IssueCommentReactionCell: UICollectionViewCell,
2121
ListBindable,
2222
UICollectionViewDataSource,
2323
UICollectionViewDelegateFlowLayout {
@@ -89,6 +89,11 @@ UICollectionViewDelegateFlowLayout {
8989
fatalError("init(coder:) has not been implemented")
9090
}
9191

92+
override func layoutSubviews() {
93+
super.layoutSubviews()
94+
layoutContentViewForSafeAreaInsets()
95+
}
96+
9297
// MARK: Public API
9398

9499
func perform(operation: IssueReactionOperation, content: ReactionContent) {

0 commit comments

Comments
 (0)