Skip to content

Commit

Permalink
FIX: Article URL
Browse files Browse the repository at this point in the history
  • Loading branch information
bome24 committed Dec 26, 2023
1 parent 8d2a071 commit b4fb6dd
Showing 1 changed file with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,23 +376,6 @@ class BriefingCardViewController: UIViewController {
make.top.equalTo(topicLabel.snp.bottom).offset(8)
}

// dateInformationLabel.snp.makeConstraints{ make in
//
// }
//
// categoryInformationLabel.snp.makeConstraints{ make in
//
// }
//
// generateInformationLabel.snp.makeConstraints{ make in
//
// }
//
// informationStackView.snp.makeConstraints{ make in
// make.leading.equalTo(topicLabel)
// make.top.equalTo(topicLabel.snp.bottom).offset(8)
// }

lineSeparatorView1.snp.makeConstraints{ make in
make.top.equalTo(informationLabel.snp.bottom).offset(20)
make.leading.equalToSuperview().offset(-10)
Expand Down Expand Up @@ -448,13 +431,13 @@ class BriefingCardViewController: UIViewController {
}

@objc func openSecondArticleURL() {
if let secondArticleURL = self.briefingData?.articles[0].url {
if let secondArticleURL = self.briefingData?.articles[1].url {
openURLInSafari(secondArticleURL)
}
}

@objc func openThirdArticleURL() {
if let thirdArticleURL = self.briefingData?.articles[0].url {
if let thirdArticleURL = self.briefingData?.articles[2].url {
openURLInSafari(thirdArticleURL)
}
}
Expand Down

0 comments on commit b4fb6dd

Please sign in to comment.