Skip to content
Open
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
27 changes: 15 additions & 12 deletions PRW.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,12 @@ import Lists
import Palette
import SnapKit
import UIKit
final class DeploymentCheckRunCell: UITableViewCell, Bindable { final class DeploymentCheckRunCell: UITableViewCell, Bindable { final class DeploymentCheckRunCell: UITableViewCell, Bindable {

final class DeploymentCheckRunCell: UITableViewCell, Bindable {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change

final class DeploymentCheckRunCell: UITableViewCell, Bindable {final class DeploymentCheckRunCell: UITableViewCell, Bindable {

private static let iconSize = grid(5)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test left comment


private let titleLabel = applying(UILabel(), compose(
Palette.numberOfLines(0),
Palette.textColor(Asset.textPrimary.color),
Palette.font(.preferredFont(forTextStyle: .body))
))

private let trailingTitleLabel = applying(UILabel(), compose(
Palette.numberOfLines(0),
Palette.textColor(Asset.textTertiary.color),
Palette.font(.preferredFont(forTextStyle: .callout))
))

private let leadingIconImageView = applying(UIImageView(), compose(
Palette.image(Asset.workflow24.image),
Expand Down Expand Up @@ -73,6 +63,19 @@ final class DeploymentCheckRunCell: UITableViewCell, Bindable {
rotateAnimation.isRemovedOnCompletion = false
return rotateAnimation
}()
private static let iconSize = grid(5)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test right comment

Comment on lines 64 to +66
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test right comment edited and non edited


private let titleLabel = applying(UILabel(), compose(
Palette.numberOfLines(0),
Palette.textColor(Asset.textPrimary.color),
Palette.font(.preferredFont(forTextStyle: .body))
))

private let trailingTitleLabel = applying(UILabel(), compose(
Palette.numberOfLines(0),
Palette.textColor(Asset.textTertiary.color),
Palette.font(.preferredFont(forTextStyle: .callout))
))

func bind(viewModel: CheckRunViewModel) {
titleLabel.text = viewModel.name
Expand Down