mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-28 02:45:58 +00:00
Fixes
This commit is contained in:
parent
7ff3593c69
commit
99a4799842
@ -267,7 +267,7 @@ public class ItemListMultilineInputItemNode: ListViewItemNode, ASEditableTextNod
|
||||
|
||||
let _ = textApply()
|
||||
if let currentText = strongSelf.textNode.attributedText {
|
||||
if currentText.string != attributedText.string {
|
||||
if currentText.string != attributedText.string || updatedTheme != nil {
|
||||
strongSelf.textNode.attributedText = attributedText
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -214,7 +214,7 @@ class ChatMessageTextBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
if mediaDuration != nil || isSeekableWebMedia {
|
||||
enabledTypes.insert(.timecode)
|
||||
if mediaDuration == nil {
|
||||
mediaDuration = 60.0 * 60.0 * 3.0
|
||||
mediaDuration = 60.0 * 60.0 * 24.0
|
||||
}
|
||||
}
|
||||
if let result = addLocallyGeneratedEntities(rawText, enabledTypes: enabledTypes, entities: entitiesValue, mediaDuration: mediaDuration) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user