File tree Expand file tree Collapse file tree
Application/DevLogPresentation/Sources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,16 +15,17 @@ struct PushNotificationListView: View {
1515 @ScaledMetric ( relativeTo: . largeTitle) private var labelWidth = 34
1616 @State private var headerOffset : CGFloat = 0
1717 @State private var isScrollTrackingEnabled = false
18- @State private var store : StoreOf < PushNotificationListFeature >
18+ @Bindable var store : StoreOf < PushNotificationListFeature >
1919 let coordinator : PushNotificationListViewCoordinator
2020 let isCompactLayout : Bool
21+
2122 init (
2223 coordinator: PushNotificationListViewCoordinator ,
2324 isCompactLayout: Bool
2425 ) {
2526 self . coordinator = coordinator
2627 self . isCompactLayout = isCompactLayout
27- self . _store = State ( initialValue : coordinator. store)
28+ self . store = coordinator. store
2829 }
2930
3031 var body : some View {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import DevLogCore
1111import DevLogDomain
1212
1313struct TodayView : View {
14- @State private var store : StoreOf < TodayFeature >
14+ @Bindable var store : StoreOf < TodayFeature >
1515 let coordinator : TodayViewCoordinator
1616 let isCompactLayout : Bool
1717
@@ -21,7 +21,7 @@ struct TodayView: View {
2121 ) {
2222 self . coordinator = coordinator
2323 self . isCompactLayout = isCompactLayout
24- self . _store = State ( initialValue : coordinator. store)
24+ self . store = coordinator. store
2525 }
2626
2727 var body : some View {
You can’t perform that action at this time.
0 commit comments