working on storage cell view, tweaks to the messages app toolbar

This commit is contained in:
Nihaal Sharma committed 2026-11-27 09:41:54 +00:00
1 parent 34249aa56e
commit 9fc03e4bd2
11 files changed
+84 -56

No files matched your search

@@ -75,21 +75,29 @@ class MessagesToolbarView: UIStackView {
labelSubTitle.textAlignment = .center
labelSubTitle.font = .preferredFont(forTextStyle: .caption1)
goButton.layer.masksToBounds = true
goView.layer.masksToBounds = true
goButton.setImage(UIImage(named: "arrow.up.right.square"), for: .normal)
goView.addSubview(goButton)
goView.contentView.addSubview(goButton)
goButton.translatesAutoresizingMaskIntoConstraints = false
NSLayoutConstraint.activate([
goButton.widthAnchor.constraint(equalTo: goView.widthAnchor),
goButton.heightAnchor.constraint(equalTo: goView.heightAnchor)
goButton.widthAnchor.constraint(equalTo: goView.contentView.widthAnchor),
goButton.heightAnchor.constraint(equalTo: goView.contentView.heightAnchor),
// goView.contentView.heightAnchor.constraint(equalTo: labelView.heightAnchor),
goView.contentView.widthAnchor.constraint(equalTo: goView.contentView.heightAnchor)
])
self.addArrangedSubview(labelView)
self.addArrangedSubview(goView)
self.addArrangedSubview(labelView)
}
func refreshUI() {
}
override func layoutSubviews() {
super.layoutSubviews()
goView.layer.cornerRadius = goView.frame.height/4
labelView.layer.cornerRadius = labelView.frame.height/4
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.