forked from shadowfacts/Tusker
Fix broken Compose layout when replying to long statuses
This commit is contained in:
parent
2426989161
commit
45ac40b125
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue