Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #277 from Lickability/fixes-inability-to-tap-scree…
Browse files Browse the repository at this point in the history
…nshot-on-feedback-vc

Fixes Inability to Tap Screenshot on iOS 14
  • Loading branch information
mliberatore authored Sep 11, 2020
2 parents 4e6a277 + 962f1d7 commit cfbb391
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions PinpointKit/PinpointKit/Sources/Core/ScreenshotCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ class ScreenshotCell: UITableViewCell {
backgroundColor = .clear
selectionStyle = .none

addSubview(stackView)
contentView.addSubview(stackView)

stackView.topAnchor.constraint(equalTo: topAnchor).isActive = true
stackView.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
stackView.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
stackView.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
stackView.topAnchor.constraint(equalTo: contentView.topAnchor).isActive = true
stackView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor).isActive = true
stackView.leadingAnchor.constraint(equalTo: contentView.leadingAnchor).isActive = true
stackView.trailingAnchor.constraint(equalTo: contentView.trailingAnchor).isActive = true

stackView.addArrangedSubview(screenshotButton)
stackView.addArrangedSubview(hintLabel)
Expand Down

0 comments on commit cfbb391

Please sign in to comment.