Commit ea48d25
Fix: make Daily Score toggle independent of Goal Tracker
Daily Score widget only uses GoalsProvider for the CTA button label
(Add Goals vs New Task) — the score itself is purely task-based.
Remove the hidden dependency so each of the three toggles works
independently. Also pass null for goalsWidgetKey when Goal Tracker
is off so the Add Goals button gracefully falls back to New Task.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a758a4c commit ea48d25
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
240 | 243 | | |
241 | 244 | | |
242 | 245 | | |
| |||
0 commit comments