Browse Source

Hide post button if we still have placeholder text

Signed-off-by: William Casarin <jb55@jb55.com>
profile-edit
William Casarin 3 years ago
parent
commit
a59cb04ce0
  1. 2
      damus/Views/PostView.swift

2
damus/Views/PostView.swift

@ -43,7 +43,7 @@ struct PostView: View {
} }
var is_post_empty: Bool { var is_post_empty: Bool {
return post.allSatisfy { $0.isWhitespace } return post == POST_PLACEHOLDER || post.allSatisfy { $0.isWhitespace }
} }
var body: some View { var body: some View {

Loading…
Cancel
Save