File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed
Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ class ManageFollowedItemsPage extends StatelessWidget {
2121
2222 return Scaffold (
2323 appBar: AppBar (
24+ leading: IconButton (
25+ icon: const Icon (Icons .close),
26+ onPressed: () {
27+ context.pop ();
28+ },
29+ ),
2430 title: Text (
2531 l10n.accountContentPreferencesTile,
2632 style: textTheme.titleLarge,
@@ -37,7 +43,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
3743 ),
3844 trailing: const Icon (Icons .chevron_right),
3945 onTap: () {
40- context.goNamed (Routes .followedTopicsListName);
46+ context.pushNamed (Routes .followedTopicsListName);
4147 },
4248 ),
4349 const Divider (
@@ -52,7 +58,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
5258 ),
5359 trailing: const Icon (Icons .chevron_right),
5460 onTap: () {
55- context.goNamed (Routes .followedSourcesListName);
61+ context.pushNamed (Routes .followedSourcesListName);
5662 },
5763 ),
5864 const Divider (
@@ -70,7 +76,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
7076 ),
7177 trailing: const Icon (Icons .chevron_right),
7278 onTap: () {
73- context.goNamed (Routes .followedCountriesListName);
79+ context.pushNamed (Routes .followedCountriesListName);
7480 },
7581 ),
7682 const Divider (
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ class SavedFiltersPage extends StatelessWidget {
2525
2626 return Scaffold (
2727 appBar: AppBar (
28+ leading: IconButton (
29+ icon: const Icon (Icons .close),
30+ onPressed: () {
31+ context.pop ();
32+ },
33+ ),
2834 title: Text (
2935 // Use the correct localization key for the page title.
3036 l10n.savedFiltersPageTitle,
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ class SavedHeadlinesPage extends StatelessWidget {
2828
2929 return Scaffold (
3030 appBar: AppBar (
31+ leading: IconButton (
32+ icon: const Icon (Icons .close),
33+ onPressed: () {
34+ context.pop ();
35+ },
36+ ),
3137 title: Text (
3238 l10n.accountSavedHeadlinesTile,
3339 style: textTheme.titleLarge,
You can’t perform that action at this time.
0 commit comments