Commit 1ca46d1
committed
fix(headlines-feed): toggle follow status for topics and sources
- Add AccountFollowTopicToggled and AccountFollowSourceToggled events to AccountBloc
- Remove SuggestedItemFollowToggled event from HeadlinesFeedBloc
- Add context.read<AccountBloc>().add() calls for both Topic and Source toggles
- Remove unused local variable comment for isCurrentlyFollowing1 parent 4467e65 commit 1ca46d1
1 file changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
347 | 353 | | |
348 | 354 | | |
349 | 355 | | |
350 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
351 | 362 | | |
352 | 363 | | |
353 | 364 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | 365 | | |
363 | 366 | | |
364 | 367 | | |
| |||
0 commit comments