Make mentions wide in notifications like in timeline
Changelog-Changed: Make mentions wide in notifications like in timeline
This commit is contained in:
@@ -52,7 +52,7 @@ struct NotificationItemView: View {
|
||||
|
||||
case .reply(let ev):
|
||||
NavigationLink(destination: ThreadView(state: state, thread: ThreadModel(event: ev, damus_state: state))) {
|
||||
EventView(damus: state, event: ev)
|
||||
EventView(damus: state, event: ev, options: [.wide, .truncate_content])
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
}
|
||||
|
||||
@@ -91,7 +91,6 @@ struct NotificationsView: View {
|
||||
}
|
||||
return Color.clear
|
||||
})
|
||||
.padding(.horizontal)
|
||||
}
|
||||
.coordinateSpace(name: "scroll")
|
||||
.onReceive(handle_notify(.scroll_to_top)) { notif in
|
||||
|
||||
Reference in New Issue
Block a user