Skip to content

Commit

Permalink
Swiftlint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philippzagar committed Jan 8, 2024
1 parent 9cddd96 commit 58a1601
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/SpeziChat/MessageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ public struct MessageView: View {
/// Contains default values of configurable properties of the ``MessageView``.
public enum Defaults {
/// ``ChatEntity`` ``ChatEntity/Role``s that should be hidden by default
// Need to state a dummy associated value of the `ChatEntity/Role/function` case
public static let hideMessagesWithRoles: Set<ChatEntity.Role> = [.system, .function(name: "")]
public static let hideMessagesWithRoles: Set<ChatEntity.Role> = [
.system,
.function(name: "") // Need to state a dummy associated value of the `ChatEntity/Role/function` case
]
}


Expand Down

0 comments on commit 58a1601

Please sign in to comment.