Fix broken Compose layout when replying to long statuses

This commit is contained in:
Shadowfacts 2020-10-18 16:31:41 -04:00
parent 2426989161
commit 45ac40b125
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 2 deletions

View File

@ -36,8 +36,9 @@ struct MainComposeTextView: View {
) { (textView) in
self.height = max(textView.contentSize.height, minHeight)
}
.frame(height: height ?? minHeight)
}.onAppear {
}
.frame(height: height ?? minHeight)
.onAppear {
if !hasFirstAppeared {
hasFirstAppeared = true
becomeFirstResponder = true