Minor UI tweaks

pull/272/head
nielsandriesse 5 years ago
parent e1895ef0ea
commit 3977f058a9

@ -33,7 +33,7 @@ struct MessageActionBuilder {
}
static func copyPublicKey(conversationViewItem: ConversationViewItem, delegate: MessageActionsDelegate) -> MenuAction {
return MenuAction(image: #imageLiteral(resourceName: "Key"),
return MenuAction(image: #imageLiteral(resourceName: "Key").scaled(to: CGSize(width: 24, height: 24)),
title: NSLocalizedString("Copy Session ID", comment: ""),
subtitle: nil,
block: { [weak delegate] _ in delegate?.copyPublicKey(for: conversationViewItem) }

@ -874,7 +874,7 @@ private class MediaGalleryStaticHeader: UICollectionViewCell {
label.textColor = Theme.darkThemePrimaryColor
label.textAlignment = .center
label.numberOfLines = 0
label.autoPinEdgesToSuperviewMargins()
label.autoPinEdgesToSuperviewMargins(with: UIEdgeInsets(top: 0, leading: Values.largeSpacing, bottom: 0, trailing: Values.largeSpacing))
}
@available(*, unavailable, message: "Unimplemented")

Loading…
Cancel
Save