Skip to content

Commit

Permalink
Merge pull request #1222 from wakmusic/1221-fix-sub-button-visual-state
Browse files Browse the repository at this point in the history
🔀 :: (#1221) 구독 버튼 보여지는 시기 변경
  • Loading branch information
yongbeomkwak authored Aug 25, 2024
2 parents 27c4dbd + 35a7716 commit 45e78d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ final class MyPlaylistDetailViewController: BaseReactorViewController<MyPlaylist

private var moreButton: UIButton = UIButton().then {
$0.setImage(DesignSystemAsset.MyInfo.more.image, for: .normal)
$0.isHidden = true
}

private var saveCompletionIndicator = NVActivityIndicatorView(frame: .zero).then {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ final class UnknownPlaylistDetailViewController: BaseReactorViewController<Unkno
private lazy var subscriptionButton: RectangleButton = RectangleButton().then {
$0.setBackgroundColor(.clear, for: .normal)
$0.setColor(isHighlight: true)
$0.isHidden = true
$0.setTitle("구독", for: .normal)
$0.titleLabel?.font = .setFont(.t7(weight: .bold))
$0.layer.borderWidth = 1
Expand Down Expand Up @@ -237,6 +238,7 @@ final class UnknownPlaylistDetailViewController: BaseReactorViewController<Unkno
} else {
owner.indicator.stopAnimating()
owner.tableView.isHidden = false
owner.subscriptionButton.isHidden = false
}
}
.disposed(by: disposeBag)
Expand Down

0 comments on commit 45e78d5

Please sign in to comment.