diff --git a/FlowCrypt/Controllers/Compose/ComposeViewDecorator.swift b/FlowCrypt/Controllers/Compose/ComposeViewDecorator.swift index df0cffc71..bab03ba07 100644 --- a/FlowCrypt/Controllers/Compose/ComposeViewDecorator.swift +++ b/FlowCrypt/Controllers/Compose/ComposeViewDecorator.swift @@ -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)) } @@ -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) ) } } diff --git a/FlowCrypt/Controllers/Msg/MessageViewDecorator.swift b/FlowCrypt/Controllers/Msg/MessageViewDecorator.swift index d5a1cda3a..17ad5be48 100644 --- a/FlowCrypt/Controllers/Msg/MessageViewDecorator.swift +++ b/FlowCrypt/Controllers/Msg/MessageViewDecorator.swift @@ -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) ) } }