fix: searching background UI issue

This commit is contained in:
CMK 2021-06-22 17:47:40 +08:00
parent a23fc3cab8
commit 80330c0809
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ extension SearchViewController {
searchingTableView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor),
])
searchingTableView.tableFooterView = UIView()
searchingTableView.backgroundColor = Asset.Colors.Background.systemGroupedBackground.color
viewModel.isSearching
.receive(on: DispatchQueue.main)
.sink { [weak self] isSearching in

View File

@ -54,7 +54,7 @@ final class SearchingTableViewCell: UITableViewCell {
extension SearchingTableViewCell {
private func configure() {
backgroundColor = .clear
backgroundColor = Asset.Colors.Background.systemBackground.color
let containerStackView = UIStackView()
containerStackView.axis = .horizontal