mirror of
git://jb55.com/damus
synced 2024-09-18 19:23:49 +00:00
ui: change post view background to be all black
Closes: https://github.com/damus-io/damus/pull/1666 Reviewed-by: William Casarin <jb55@jb55.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
4dd800e6b9
commit
a2fdb61013
@ -154,7 +154,7 @@ struct PostView: View {
|
||||
}
|
||||
|
||||
var AttachmentBar: some View {
|
||||
HStack(alignment: .center) {
|
||||
HStack(alignment: .center, spacing: 15) {
|
||||
ImageButton
|
||||
CameraButton
|
||||
}
|
||||
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user