mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Replace line breaks with spaces in reply headers
This commit is contained in:
parent
bd2b30b51f
commit
532ccd1031
@ -179,7 +179,7 @@ public func mediaContentKind(_ media: Media, message: Message? = nil, strings: P
|
||||
public func stringForMediaKind(_ kind: MessageContentKind, strings: PresentationStrings) -> (String, Bool) {
|
||||
switch kind {
|
||||
case let .text(text):
|
||||
return (text, false)
|
||||
return (foldLineBreaks(text), false)
|
||||
case .image:
|
||||
return (strings.Message_Photo, true)
|
||||
case .video:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user