We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4a7415 + 099f116 commit f79a265Copy full SHA for f79a265
Adamant/Modules/Chat/View/Subviews/ChatMedia/Content/ChatMediaContnentView.swift
@@ -278,14 +278,10 @@ extension ChatMediaContentView.Model {
278
279
var spaceCount: CGFloat = fileModel.isMediaFilesOnly ? .zero : 1
280
281
- if isReply {
+ if isReply || !comment.string.isEmpty{
282
spaceCount += 2
283
}
284
285
- if !comment.string.isEmpty {
286
- spaceCount += 3
287
- }
288
-
289
return fileModel.height()
290
+ spaceCount * verticalInsets
291
+ replyViewDynamicHeight
0 commit comments