Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions FlowCrypt/Controllers/Compose/ComposeViewDecorator.swift
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,7 +64,7 @@ struct ComposeViewDecorator {
insets: UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
)
}

func styledMessage(with text: String) -> NSAttributedString {
text.attributed(.regular(17))
}
Expand DownExpand Up@@ -210,9 +210,9 @@ extension AttachmentNode.Input {
init(composeAttachment: ComposeMessageAttachment) {
self.init(
name: composeAttachment.name
.attributed(.regular(18), color: .textColor, alignment: .left),
.attributed(.regular(18), color: .mainTextColor, alignment: .left),
size: "\(composeAttachment.size)"
.attributed(.medium(12), color: .textColor, alignment: .left)
.attributed(.medium(12), color: .mainTextColor, alignment: .left)
)
}
}
4 changes: 2 additions & 2 deletions FlowCrypt/Controllers/Msg/MessageViewDecorator.swift
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,9 +49,9 @@ extension AttachmentNode.Input {
init(msgAttachment: MessageAttachment) {
self.init(
name: msgAttachment.name
.attributed(.regular(18), color: .textColor, alignment: .left),
.attributed(.regular(18), color: .mainTextColor, alignment: .left),
size: "\(msgAttachment.size)"
.attributed(.medium(12), color: .textColor, alignment: .left)
.attributed(.medium(12), color: .mainTextColor, alignment: .left)
)
}
}