options: add no_mentions to event view options
We don't need mentions in longform previews so we'll need this
This commit is contained in:
@@ -19,6 +19,7 @@ struct EventViewOptions: OptionSet {
|
|||||||
static let small_pfp = EventViewOptions(rawValue: 1 << 7)
|
static let small_pfp = EventViewOptions(rawValue: 1 << 7)
|
||||||
static let nested = EventViewOptions(rawValue: 1 << 8)
|
static let nested = EventViewOptions(rawValue: 1 << 8)
|
||||||
static let top_zap = EventViewOptions(rawValue: 1 << 9)
|
static let top_zap = EventViewOptions(rawValue: 1 << 9)
|
||||||
|
static let no_mentions = EventViewOptions(rawValue: 1 << 10)
|
||||||
|
|
||||||
static let embedded: EventViewOptions = [.no_action_bar, .small_pfp, .wide, .truncate_content, .nested]
|
static let embedded: EventViewOptions = [.no_action_bar, .small_pfp, .wide, .truncate_content, .nested]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user