File tree Expand file tree Collapse file tree
Core/Sources/SuggestionWidget Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ struct ChatPanelInputArea: View {
299299 . padding ( . top, 0 )
300300 . padding ( . bottom, 3 )
301301 . padding ( . horizontal, 4 )
302-
302+
303303 CustomTextEditor (
304304 text: $typedMessage,
305305 font: . systemFont( ofSize: 14 ) ,
@@ -405,6 +405,9 @@ struct RoundedCorners: Shape {
405405struct GlobalChatSwitchToggleStyle : ToggleStyle {
406406 func makeBody( configuration: Configuration ) -> some View {
407407 HStack ( spacing: 4 ) {
408+ Text ( configuration. isOn ? " Shared Conversation " : " Local Conversation " )
409+ . foregroundStyle ( . tertiary)
410+
408411 RoundedRectangle ( cornerRadius: 10 , style: . circular)
409412 . foregroundColor ( configuration. isOn ? Color . indigo : . gray. opacity ( 0.5 ) )
410413 . frame ( width: 30 , height: 20 , alignment: . center)
@@ -430,9 +433,6 @@ struct GlobalChatSwitchToggleStyle: ToggleStyle {
430433 RoundedRectangle ( cornerRadius: 10 , style: . circular)
431434 . stroke ( . black. opacity ( 0.2 ) , lineWidth: 1 )
432435 }
433-
434- Text ( configuration. isOn ? " Global Chat " : " File Chat " )
435- . foregroundStyle ( . tertiary)
436436 }
437437 }
438438}
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ struct WidgetContextMenu: View {
152152 Button ( action: {
153153 useGlobalChat. toggle ( )
154154 } ) {
155- Text ( " Use Global Chat " )
155+ Text ( " Use Shared Conversation " )
156156 if useGlobalChat {
157157 Image ( systemName: " checkmark " )
158158 }
You can’t perform that action at this time.
0 commit comments