forked from shadowfacts/Tusker
Fix broken layout on Compose screen when replying to certain posts
Closes #115
This commit is contained in:
parent
62a9535394
commit
b8f169d0cd
|
@ -41,11 +41,10 @@ struct ComposeReplyView: View {
|
||||||
ComposeReplyContentView(status: status) { (newHeight) in
|
ComposeReplyContentView(status: status) { (newHeight) in
|
||||||
self.contentHeight = newHeight
|
self.contentHeight = newHeight
|
||||||
}
|
}
|
||||||
.frame(height: contentHeight)
|
|
||||||
.offset(x: -4, y: -8)
|
.offset(x: -4, y: -8)
|
||||||
.padding(.bottom, -8)
|
.padding(.bottom, -8)
|
||||||
}
|
}
|
||||||
.frame(minHeight: 50 + 8)
|
.frame(height: max(50, contentHeight ?? 0) + 8)
|
||||||
}
|
}
|
||||||
.padding(.bottom, -8)
|
.padding(.bottom, -8)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue