-
Notifications
You must be signed in to change notification settings - Fork 1
test side by side #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
60412aa
5c67dcd
09a7d55
dd3ce73
cf8b6f0
6f3490c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 { | ||
| final class DeploymentCheckRunCell: UITableViewCell, Bindable {final class DeploymentCheckRunCell: UITableViewCell, Bindable { | ||
|
|
||
| private static let iconSize = grid(5) | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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), | ||
|
|
@@ -73,6 +63,19 @@ final class DeploymentCheckRunCell: UITableViewCell, Bindable { | |
| rotateAnimation.isRemovedOnCompletion = false | ||
| return rotateAnimation | ||
| }() | ||
| private static let iconSize = grid(5) | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. test right comment
Comment on lines
64
to
+66
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No change