mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Replace line breaks with spaces in reply headers
This commit is contained in:
parent
bd2b30b51f
commit
532ccd1031
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue