Use post id for template texts
This commit is contained in:
parent
0beadc2ec8
commit
a5c692cb09
@ -72,8 +72,8 @@ struct AddPostView: View {
|
||||
startDate: .now,
|
||||
endDate: nil,
|
||||
tags: [],
|
||||
german: .init(content: content, title: "Titel", text: "Text"),
|
||||
english: .init(content: content, title: "Title", text: "Text"))
|
||||
german: .init(content: content, title: newPostId, text: ""),
|
||||
english: .init(content: content, title: newPostId, text: ""))
|
||||
content.posts.insert(post, at: 0)
|
||||
selectedPost = post
|
||||
dismissSheet()
|
||||
|
Loading…
x
Reference in New Issue
Block a user