Changed the labels on the conversation menu items to be bold

pull/586/head
Morgan Pretty 4 years ago
parent d3e9fff893
commit 07658b8893

@ -25,7 +25,7 @@ final class NewConversationButtonSet : UIView {
private lazy var newDMLabel: UILabel = { private lazy var newDMLabel: UILabel = {
let result: UILabel = UILabel() let result: UILabel = UILabel()
result.translatesAutoresizingMaskIntoConstraints = false result.translatesAutoresizingMaskIntoConstraints = false
result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize) result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize, weight: .bold)
result.text = NSLocalizedString("NEW_CONVERSATION_MENU_DIRECT_MESSAGE", comment: "").uppercased() result.text = NSLocalizedString("NEW_CONVERSATION_MENU_DIRECT_MESSAGE", comment: "").uppercased()
result.textColor = Colors.grey result.textColor = Colors.grey
result.textAlignment = .center result.textAlignment = .center
@ -36,7 +36,7 @@ final class NewConversationButtonSet : UIView {
private lazy var createClosedGroupLabel: UILabel = { private lazy var createClosedGroupLabel: UILabel = {
let result: UILabel = UILabel() let result: UILabel = UILabel()
result.translatesAutoresizingMaskIntoConstraints = false result.translatesAutoresizingMaskIntoConstraints = false
result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize) result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize, weight: .bold)
result.text = NSLocalizedString("NEW_CONVERSATION_MENU_CLOSED_GROUP", comment: "").uppercased() result.text = NSLocalizedString("NEW_CONVERSATION_MENU_CLOSED_GROUP", comment: "").uppercased()
result.textColor = Colors.grey result.textColor = Colors.grey
result.textAlignment = .center result.textAlignment = .center
@ -47,7 +47,7 @@ final class NewConversationButtonSet : UIView {
private lazy var joinOpenGroupLabel: UILabel = { private lazy var joinOpenGroupLabel: UILabel = {
let result: UILabel = UILabel() let result: UILabel = UILabel()
result.translatesAutoresizingMaskIntoConstraints = false result.translatesAutoresizingMaskIntoConstraints = false
result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize) result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize, weight: .bold)
result.text = NSLocalizedString("NEW_CONVERSATION_MENU_OPEN_GROUP", comment: "").uppercased() result.text = NSLocalizedString("NEW_CONVERSATION_MENU_OPEN_GROUP", comment: "").uppercased()
result.textColor = Colors.grey result.textColor = Colors.grey
result.textAlignment = .center result.textAlignment = .center

Loading…
Cancel
Save