Saved messages tab improvements

This commit is contained in:
Isaac
2024-01-29 00:09:32 +01:00
parent 03f5073f1d
commit f2ff2e9f3a
27 changed files with 147 additions and 93 deletions

View File

@@ -1066,18 +1066,15 @@ public final class ChatMessageInteractiveFileNode: ASDisplayNode {
strongSelf.audioTranscriptionState = updatedAudioTranscriptionState
}
/*switch updatedAudioTranscriptionState {
switch updatedAudioTranscriptionState {
case .expanded:
info?.setInvertOffsetDirection()
default:
break
}
} else if strongSelf.isWaitingForCollapse {
strongSelf.isWaitingForCollapse = false
info?.setInvertOffsetDirection()
}*/
info?.setInvertOffsetDirection()
if strongSelf.isWaitingForCollapse {
strongSelf.isWaitingForCollapse = false
info?.setInvertOffsetDirection()
}
}
if let consumableContentIcon = consumableContentIcon {
if strongSelf.consumableContentNode.supernode == nil {