chore: set public timeline title and update loader height

This commit is contained in:
CMK 2021-02-25 11:48:16 +08:00
parent 0ad43fb0eb
commit ccc8741ccd
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ extension PublicTimelineViewController {
override func viewDidLoad() {
super.viewDidLoad()
title = "Public"
view.backgroundColor = Asset.Colors.Background.systemGroupedBackground.color
tableView.refreshControl = refreshControl

View File

@ -11,7 +11,7 @@ import Combine
class TimelineLoaderTableViewCell: UITableViewCell {
static let cellHeight: CGFloat = 44 + TimelineLoaderTableViewCell.extraTopPadding + TimelineLoaderTableViewCell.bottomPadding
static let extraTopPadding: CGFloat = 3 // the status cell already has 10pt bottom padding
static let extraTopPadding: CGFloat = 0 // the status cell already has 10pt bottom padding
static let bottomPadding: CGFloat = StatusTableViewCell.bottomPaddingHeight + TimelineLoaderTableViewCell.extraTopPadding // make balance
var disposeBag = Set<AnyCancellable>()