Commit 3c5c72cc authored by Oliver Wiese's avatar Oliver Wiese
Browse files

make compose view scrollable.

parent 70134dab
......@@ -40,9 +40,8 @@ struct ComposeView: View {
VStack {
// Top bar with Cancel and Send button
ComposeViewHeader(model: model)
ScrollView{
Divider()
// "To" recipients
RecipientField(model: model.recipientsModel.toModel,
composeViewHeight: geometry.size.height)
......@@ -87,6 +86,7 @@ struct ComposeView: View {
.transition(.move(edge: .bottom))
}
}
}
// show this alert when user sends the mail without attachments,
// but mentions them in the mail
.alert(isPresented: $model.showAttachmentAlert) {
......@@ -94,7 +94,6 @@ struct ComposeView: View {
}
.padding()
.animation(.easeInOut)
.ignoresSafeArea(edges: /*@START_MENU_TOKEN@*/.bottom/*@END_MENU_TOKEN@*/)
.onDisappear{
// when the ComposeView is closed, we make sure to
// clean the Documents Directory from all the remaining
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment