Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion iBox/Sources/BoxList/BoxListCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class BoxListCell: UITableViewCell {

private func setupProperty() {
backgroundColor = .tableViewBackgroundColor
selectionStyle = .none
selectionStyle = .gray
}

private func setupHierarchy() {
Expand Down
2 changes: 2 additions & 0 deletions iBox/Sources/BoxList/BoxListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ extension BoxListView: UITableViewDelegate {
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
guard let cellViewModel = viewModel?.boxList[indexPath.section].boxListCellViewModelsWithStatus[indexPath.row] else { return }
delegate?.didSelectWeb(id: cellViewModel.id, at: cellViewModel.url, withName: cellViewModel.name)

tableView.deselectRow(at: indexPath, animated: true)
}

func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
Expand Down