Truncate long text in notification items
Changelog-Fixed: Truncate long text in notification items
This commit is contained in:
@@ -212,7 +212,7 @@ struct EventGroupView: View {
|
|||||||
NavigationLink(destination: dest) {
|
NavigationLink(destination: dest) {
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
GroupDescription
|
GroupDescription
|
||||||
EventBody(damus_state: state, event: event, size: .normal, options: [])
|
EventBody(damus_state: state, event: event, size: .normal, options: [.truncate_content])
|
||||||
.padding([.top], 1)
|
.padding([.top], 1)
|
||||||
.foregroundColor(.gray)
|
.foregroundColor(.gray)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user