@@ -8,7 +8,7 @@ import SwiftUI
88private let r : Double = 8
99
1010struct ChatWindowView : View {
11- let store : StoreOf < ChatPanelFeature >
11+ let store : StoreOf < ChatPanel >
1212 let toggleVisibility : ( Bool ) -> Void
1313
1414 var body : some View {
@@ -38,7 +38,7 @@ struct ChatWindowView: View {
3838}
3939
4040struct ChatTitleBar : View {
41- let store : StoreOf < ChatPanelFeature >
41+ let store : StoreOf < ChatPanel >
4242 @State var isHovering = false
4343
4444 var body : some View {
@@ -136,7 +136,7 @@ private extension View {
136136}
137137
138138struct ChatTabBar : View {
139- let store : StoreOf < ChatPanelFeature >
139+ let store : StoreOf < ChatPanel >
140140
141141 struct TabBarState : Equatable {
142142 var tabInfo : IdentifiedArray < String , ChatTabInfo >
@@ -160,7 +160,7 @@ struct ChatTabBar: View {
160160 }
161161
162162 struct Tabs : View {
163- let store : StoreOf < ChatPanelFeature >
163+ let store : StoreOf < ChatPanel >
164164 @State var draggingTabId : String ?
165165 @Environment ( \. chatTabPool) var chatTabPool
166166
@@ -226,7 +226,7 @@ struct ChatTabBar: View {
226226 }
227227
228228 struct CreateButton : View {
229- let store : StoreOf < ChatPanelFeature >
229+ let store : StoreOf < ChatPanel >
230230
231231 var body : some View {
232232 WithPerceptionTracking {
@@ -278,7 +278,7 @@ struct ChatTabBar: View {
278278}
279279
280280struct ChatTabBarDropDelegate : DropDelegate {
281- let store : StoreOf < ChatPanelFeature >
281+ let store : StoreOf < ChatPanel >
282282 let tabs : IdentifiedArray < String , ChatTabInfo >
283283 let itemId : String
284284 @Binding var draggingTabId : String ?
@@ -302,7 +302,7 @@ struct ChatTabBarDropDelegate: DropDelegate {
302302}
303303
304304struct ChatTabBarButton < Content: View , Icon: View > : View {
305- let store : StoreOf < ChatPanelFeature >
305+ let store : StoreOf < ChatPanel >
306306 let info : ChatTabInfo
307307 let content : ( ) -> Content
308308 let icon : ( ) -> Icon
@@ -347,7 +347,7 @@ struct ChatTabBarButton<Content: View, Icon: View>: View {
347347}
348348
349349struct ChatTabContainer : View {
350- let store : StoreOf < ChatPanelFeature >
350+ let store : StoreOf < ChatPanel >
351351 @Environment ( \. chatTabPool) var chatTabPool
352352
353353 var body : some View {
@@ -406,8 +406,8 @@ struct ChatWindowView_Previews: PreviewProvider {
406406 " 7 " : EmptyChatTab ( id: " 7 " ) ,
407407 ] )
408408
409- static func createStore( ) -> StoreOf < ChatPanelFeature > {
410- StoreOf < ChatPanelFeature > (
409+ static func createStore( ) -> StoreOf < ChatPanel > {
410+ StoreOf < ChatPanel > (
411411 initialState: . init(
412412 chatTabGroup: . init(
413413 tabInfo: [
@@ -422,7 +422,7 @@ struct ChatWindowView_Previews: PreviewProvider {
422422 ) ,
423423 isPanelDisplayed: true
424424 ) ,
425- reducer: { ChatPanelFeature ( ) }
425+ reducer: { ChatPanel ( ) }
426426 )
427427 }
428428
0 commit comments