commit f9339440f216ce841b5e9f35401f05dabda7081e
parent 997bc38885e260b1558b261ea267a3a73b233e4d
Author: William Casarin <jb55@jb55.com>
Date: Mon, 3 Apr 2023 11:21:52 -0700
Truncate long text in notification items
Changelog-Fixed: Truncate long text in notification items
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Views/Notifications/EventGroupView.swift b/damus/Views/Notifications/EventGroupView.swift
@@ -212,7 +212,7 @@ struct EventGroupView: View {
NavigationLink(destination: dest) {
VStack(alignment: .leading) {
GroupDescription
- EventBody(damus_state: state, event: event, size: .normal, options: [])
+ EventBody(damus_state: state, event: event, size: .normal, options: [.truncate_content])
.padding([.top], 1)
.foregroundColor(.gray)
}