Commit 7eec1ec
committed
Refactor: Remove redundant ExecutionStateTrigger
The `ExecutionStateTrigger` struct and its associated
`executionStateTrigger` computed property in `MainContentView` are no
longer necessary. The toolbar execution state is now directly managed by
observing the `currentTab?.isExecuting` and `currentTab?.executionTime`
properties. This change simplifies the binding logic and removes
redundant state management.1 parent 228cc7a commit 7eec1ec
2 files changed
Lines changed: 3 additions & 20 deletions
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 105 | + | |
113 | 106 | | |
114 | 107 | | |
115 | 108 | | |
| |||
130 | 123 | | |
131 | 124 | | |
132 | 125 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 126 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 196 | + | |
202 | 197 | | |
203 | 198 | | |
204 | 199 | | |
| |||
0 commit comments