mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-12 17:14:47 +01:00
chore: set public timeline title and update loader height
This commit is contained in:
parent
0ad43fb0eb
commit
ccc8741ccd
@ -42,6 +42,7 @@ extension PublicTimelineViewController {
|
|||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
||||||
|
title = "Public"
|
||||||
view.backgroundColor = Asset.Colors.Background.systemGroupedBackground.color
|
view.backgroundColor = Asset.Colors.Background.systemGroupedBackground.color
|
||||||
|
|
||||||
tableView.refreshControl = refreshControl
|
tableView.refreshControl = refreshControl
|
||||||
|
@ -11,7 +11,7 @@ import Combine
|
|||||||
class TimelineLoaderTableViewCell: UITableViewCell {
|
class TimelineLoaderTableViewCell: UITableViewCell {
|
||||||
|
|
||||||
static let cellHeight: CGFloat = 44 + TimelineLoaderTableViewCell.extraTopPadding + TimelineLoaderTableViewCell.bottomPadding
|
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
|
static let bottomPadding: CGFloat = StatusTableViewCell.bottomPaddingHeight + TimelineLoaderTableViewCell.extraTopPadding // make balance
|
||||||
|
|
||||||
var disposeBag = Set<AnyCancellable>()
|
var disposeBag = Set<AnyCancellable>()
|
||||||
|
Loading…
Reference in New Issue
Block a user