Skip to content

Commit

Permalink
πŸ’„ :: [#1210] ν™œμ„±ν™” UI μΆ”κ°€ 2t
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Aug 24, 2024
1 parent 856153a commit d7440dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ extension LyricHighlightingViewController {

output.dataSource
.skip(1)
.do(onNext: { [activityIndicator, warningView, collectionView, writerLabel] model in
.do(onNext: { [activityIndicator, warningView, collectionView, bottomContentStackView] model in
activityIndicator.stopAnimating()
warningView.isHidden = !model.isEmpty
collectionView.isHidden = !warningView.isHidden
writerLabel.isHidden = !warningView.isHidden
collectionView.isHidden = model.isEmpty
bottomContentStackView.isHidden = model.isEmpty
})
.bind(to: collectionView.rx.items) { collectionView, index, entity in
guard let cell = collectionView.dequeueReusableCell(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ public final class LyricHighlightingViewController: UIViewController {
$0.backgroundColor = .clear
}

private let bottomContentStackView = UIStackView().then {
let bottomContentStackView = UIStackView().then {
$0.axis = .vertical
$0.distribution = .fill
$0.isHidden = true
}

let writerContentView = UIView()
Expand All @@ -63,9 +64,7 @@ public final class LyricHighlightingViewController: UIViewController {
kernValue: -0.5
)

let activateContentView = UIView().then {
$0.backgroundColor = DesignSystemAsset.NewGrayColor.gray900.color
}
let activateContentView = UIView()

let activateTopLineLabel = UILabel().then {
$0.backgroundColor = DesignSystemAsset.NewGrayColor.gray700.color
Expand Down

0 comments on commit d7440dc

Please sign in to comment.