commit 8a20e5845ef49c6c777b37f6b710abf0ca0deebc
parent 641e2564fbf875d4c434e575c2ef57ba7dd78ad5
Author: kernelkind <kernelkind@gmail.com>
Date: Mon, 18 Dec 2023 12:55:12 -0500
Remove line break at the end of direct messages
Closes: https://github.com/damus-io/damus/issues/1599
Changelog-Fixed: Remove extra space at the end of DM messages
Signed-off-by: kernelkind <kernelkind@gmail.com>
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Views/DMView.swift b/damus/Views/DMView.swift
@@ -45,7 +45,7 @@ struct DMView: View {
NoteContentView(damus_state: damus_state, event: event, blur_images: should_blur_img, size: .normal, options: dm_options)
.fixedSize(horizontal: false, vertical: true)
.padding([.top, .leading, .trailing], 10)
- .padding([.bottom], 25)
+ .padding([.bottom], 10)
.background(VisualEffectView(effect: UIBlurEffect(style: .prominent))
.background(is_ours ? Color.accentColor.opacity(0.9) : Color.secondary.opacity(0.15))
)