Skip to content

Commit 00ff81e

Browse files
committed
refactor(headlines): remove unused _newlySavedFilter property
This commit removes the `_newlySavedFilter` state property from `_HeadlinesFilterViewState`. This property became redundant after the refactoring that introduced the "Apply or Save" dialog, as the newly saved filter is now passed directly within the method call chain.
1 parent b97cc3b commit 00ff81e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/headlines-feed/view/headlines_filter_page.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ class _HeadlinesFilterView extends StatefulWidget {
5959
}
6060

6161
class _HeadlinesFilterViewState extends State<_HeadlinesFilterView> {
62-
/// Track the most recently saved filter within this page's lifecycle.
63-
SavedFilter? _newlySavedFilter;
64-
6562
/// Builds a [ListTile] representing a filter criterion (e.g., Categories).
6663
///
6764
/// Displays the criterion [title], the number of currently selected items

0 commit comments

Comments
 (0)