File tree Expand file tree Collapse file tree
Core/Sources/HostApp/FeatureSettings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ struct ChatSettingsView: View {
2222 @AppStorage ( \. chatModels) var chatModels
2323 @AppStorage ( \. embeddingModels) var embeddingModels
2424 @AppStorage ( \. wrapCodeInChatCodeBlock) var wrapCodeInCodeBlock
25+ @AppStorage ( \. keepFloatOnTopIfChatPanelAndXcodeOverlaps) var keepFloatOnTopIfChatPanelAndXcodeOverlaps
26+ @AppStorage ( \. disableFloatOnTopWhenTheChatPanelIsDetached) var disableFloatOnTopWhenTheChatPanelIsDetached
2527
2628 init ( ) { }
2729 }
@@ -157,6 +159,14 @@ struct ChatSettingsView: View {
157159 Toggle ( isOn: $settings. wrapCodeInCodeBlock) {
158160 Text ( " Wrap code in code block " )
159161 }
162+
163+ Toggle ( isOn: $settings. disableFloatOnTopWhenTheChatPanelIsDetached) {
164+ Text ( " Disable float on top when the chat panel is detached " )
165+ }
166+
167+ Toggle ( isOn: $settings. keepFloatOnTopIfChatPanelAndXcodeOverlaps) {
168+ Text ( " But, keep float on top if chat panel and Xcode overlaps " )
169+ }
160170
161171 #if canImport(ProHostApp)
162172
You can’t perform that action at this time.
0 commit comments