diff --git a/NucleicRemote/NucleicRemote/Views/Composer.swift b/NucleicRemote/NucleicRemote/Views/Composer.swift index 12aba36..9351bce 100644 --- a/NucleicRemote/NucleicRemote/Views/Composer.swift +++ b/NucleicRemote/NucleicRemote/Views/Composer.swift @@ -235,8 +235,9 @@ struct NewChatAffordance: ViewModifier { extension View { /// Add the floating "+" start-chat affordance (glass circle → glass composer sheet). See /// `NewChatAffordance`. - func newChatAffordance(project: WireProject? = nil, isPresented: Binding) -> some View { - modifier(NewChatAffordance(project: project, isPresented: isPresented)) + func newChatAffordance(project: WireProject? = nil, isPresented: Binding, + showsButton: Bool = true) -> some View { + modifier(NewChatAffordance(project: project, isPresented: isPresented, showsButton: showsButton)) } }