Commit 9d8cb260 authored by hannes's avatar hannes
Browse files

fixed readview call

parent d33ab21d
......@@ -31,7 +31,7 @@ fileprivate struct MailOptionsWrapper<Content:View> : View {
Label(NSLocalizedString("Mark as unread", comment: ""), systemImage: "envelope.badge")
}
Button(action: {
setDst(ReadMainView(mail: mail))
setDst(ReadMainView(model: ReadModel(mail:mail)))
open()
}){
Text(NSLocalizedString("Info", comment: ""))
......
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