Skip to content

Commit

Permalink
ui: change post view background to be all black
Browse files Browse the repository at this point in the history
Closes: #1666
Reviewed-by: William Casarin <[email protected]>
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
ericholguin authored and jb55 committed Oct 30, 2023
1 parent 4dd800e commit a2fdb61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion damus/Views/PostView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ struct PostView: View {
}

var AttachmentBar: some View {
HStack(alignment: .center) {
HStack(alignment: .center, spacing: 15) {
ImageButton
CameraButton
}
Expand Down Expand Up @@ -428,6 +428,7 @@ struct PostView: View {
}
}
}
.background(DamusColors.adaptableWhite.edgesIgnoringSafeArea(.all))
.sheet(isPresented: $attach_media) {
ImagePicker(uploader: damus_state.settings.default_media_uploader, sourceType: .photoLibrary, pubkey: damus_state.pubkey, image_upload_confirm: $image_upload_confirm) { img in
self.mediaToUpload = .image(img)
Expand Down
1 change: 1 addition & 0 deletions damus/Views/TextViewWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ struct TextViewWrapper: UIViewRepresentable {

func makeUIView(context: Context) -> UITextView {
let textView = UITextView()
textView.backgroundColor = UIColor(DamusColors.adaptableWhite)
textView.delegate = context.coordinator

// Disable scrolling (this view will expand vertically as needed to fit text)
Expand Down

0 comments on commit a2fdb61

Please sign in to comment.