Commit 52c3c7c
committed
refactor(feed): remove savedFilter from HeadlinesFeedFiltersApplied event
Removes the `savedFilter` property from the `HeadlinesFeedFiltersApplied` event.
The logic for determining the active filter ID (whether it's a saved filter or a new 'custom' one) is being centralized within the `HeadlinesFeedBloc`. The bloc will now compare the incoming filter against the list of saved filters, making this property redundant and simplifying the event's API.1 parent 2f63814 commit 52c3c7c
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | | - | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
| 76 | + | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
0 commit comments