Rework MXKSlashCommands to a more Swift-friendly form and use it in suggestion module

This commit is contained in:
aringenbach
2023-04-20 12:10:03 +02:00
parent 56ad4a03d3
commit 787967a8e4
10 changed files with 185 additions and 115 deletions
@@ -48,7 +48,6 @@ struct CompletionSuggestionListItem: View {
.font(theme.fonts.body)
.foregroundColor(theme.colors.tertiaryContent)
.accessibility(identifier: "descriptionText")
.lineLimit(1)
}
case .user(let userId, let avatar, let displayName):
if let avatar = avatar {