We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0785bfc commit 639fc1bCopy full SHA for 639fc1b
Core/Sources/SuggestionWidget/TabView.swift
@@ -2,6 +2,7 @@ import SwiftUI
2
3
struct TabView: View {
4
@ObservedObject var chatWindowViewModel: ChatWindowViewModel
5
+ @AppStorage(\.chatPanelInASeparateWindow) var chatPanelInASeparateWindow
6
7
var body: some View {
8
Button(action: {
@@ -15,7 +16,7 @@ struct TabView: View {
15
16
)
17
})
18
.buttonStyle(.plain)
- .opacity(chatWindowViewModel.chatPanelInASeparateWindow ? 1 : 0)
19
+ .opacity(chatPanelInASeparateWindow ? 1 : 0)
20
.preferredColorScheme(chatWindowViewModel.colorScheme)
21
.frame(maxWidth: Style.widgetWidth, maxHeight: Style.widgetHeight)
22
}
0 commit comments