forked from zelo72/mastodon-ios
fix: searching background UI issue
This commit is contained in:
parent
a23fc3cab8
commit
80330c0809
|
@ -29,6 +29,7 @@ extension SearchViewController {
|
||||||
searchingTableView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor),
|
searchingTableView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor),
|
||||||
])
|
])
|
||||||
searchingTableView.tableFooterView = UIView()
|
searchingTableView.tableFooterView = UIView()
|
||||||
|
searchingTableView.backgroundColor = Asset.Colors.Background.systemGroupedBackground.color
|
||||||
viewModel.isSearching
|
viewModel.isSearching
|
||||||
.receive(on: DispatchQueue.main)
|
.receive(on: DispatchQueue.main)
|
||||||
.sink { [weak self] isSearching in
|
.sink { [weak self] isSearching in
|
||||||
|
|
|
@ -54,7 +54,7 @@ final class SearchingTableViewCell: UITableViewCell {
|
||||||
|
|
||||||
extension SearchingTableViewCell {
|
extension SearchingTableViewCell {
|
||||||
private func configure() {
|
private func configure() {
|
||||||
backgroundColor = .clear
|
backgroundColor = Asset.Colors.Background.systemBackground.color
|
||||||
|
|
||||||
let containerStackView = UIStackView()
|
let containerStackView = UIStackView()
|
||||||
containerStackView.axis = .horizontal
|
containerStackView.axis = .horizontal
|
||||||
|
|
Loading…
Reference in New Issue