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

@@ -43,32 +43,13 @@ class StickerBrowserViewController: MSStickerBrowserViewController {
override func viewDidLoad() {
super.viewDidLoad()
// let stack = UIStackView(arrangedSubviews: [labelTitle, labelSubTitle])
// labelStack.contentView.addSubview(stack)
self.view.addSubview(toolbar)
// stack.translatesAutoresizingMaskIntoConstraints = false
toolbar.translatesAutoresizingMaskIntoConstraints = false
NSLayoutConstraint.activate([
// stack.heightAnchor.constraint(equalTo: toolbar.heightAnchor),
// stack.widthAnchor.constraint(equalTo: toolbar.widthAnchor),
toolbar.centerXAnchor.constraint(equalTo: self.view.centerXAnchor),
toolbar.leadingAnchor.constraint(equalTo: self.view.leadingAnchor, constant: -4),
toolbar.bottomAnchor.constraint(equalTo: self.view.bottomAnchor, constant: -4)
])
// stack.axis = .vertical
// stack.insetsLayoutMarginsFromSafeArea = false
// stack.layoutMargins = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10)
// stack.isLayoutMarginsRelativeArrangement = true
toolbar.layer.masksToBounds = true
// labelTitle.textColor = .white
// labelTitle.font = UIFont.preferredFont(forTextStyle: .subheadline)
// labelTitle.textAlignment = .center
//
// labelSubTitle.textColor = .white
// labelSubTitle.font = UIFont.preferredFont(forTextStyle: .caption1)
// labelSubTitle.textAlignment = .center
toolbar.labelView.layer.masksToBounds = true
}
override func viewDidLayoutSubviews() {
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.