mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Show user statuses in mention pills.
This commit is contained in:
@@ -48,6 +48,7 @@ struct PillViewOnBubble_Previews: PreviewProvider, TestablePreview {
|
||||
static func makeViewState(isOwnMention: Bool) -> PillViewState {
|
||||
.mention(isOwnMention: isOwnMention,
|
||||
displayText: PillUtilities.userPillDisplayText(username: isOwnMention ? "Alice" : "Bob",
|
||||
userID: isOwnMention ? "@alice:matrix.org" : "@bob:matrix.org"))
|
||||
userID: isOwnMention ? "@alice:matrix.org" : "@bob:matrix.org"),
|
||||
statusEmoji: nil)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user