Skip to content

Commit

Permalink
[CHORE] ArticleDetail 배경색 변경 (Team-LionHeart#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffalswo2 committed Jul 21, 2023
1 parent 254eb60 commit fde8fc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ final class ArticleDetailViewController: UIViewController {
private var progressBar = LHProgressView()

private let articleTableView = ArticleDetailTableView()

private let loadingIndicatorView = LHLoadingView()

private lazy var scrollToTopButton: UIButton = {
let button = UIButton()
Expand Down Expand Up @@ -52,6 +50,7 @@ final class ArticleDetailViewController: UIViewController {

public override func viewDidLoad() {
super.viewDidLoad()
setStyle()
setHierarchy()
setLayout()
setTableView()
Expand Down Expand Up @@ -120,6 +119,10 @@ extension ArticleDetailViewController: ViewControllerServiceable {
// MARK: - UI & Layout

private extension ArticleDetailViewController {

func setStyle() {
self.view.backgroundColor = .designSystem(.background)
}

func setHierarchy() {
view.addSubviews(navigationBar, articleTableView, progressBar, scrollToTopButton)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ArticleDetailTableView: UITableView {
}

private func setUI() {
self.backgroundColor = .designSystem(.black)
self.backgroundColor = .designSystem(.background)
}

private func setTableView() {
Expand Down

0 comments on commit fde8fc8

Please sign in to comment.