Skip to content

Commit de8d740

Browse files
committed
feat(ui): replace close icon with back icon in app bars
- Update leading icon from close (X) to back arrow in AppBar of SavedFiltersPage, SavedHeadlinesPage, and SettingsPage - Improve user experience by providing a more intuitive navigation indication
1 parent 8645691 commit de8d740

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/account/view/saved_filters_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SavedFiltersPage extends StatelessWidget {
2727
return Scaffold(
2828
appBar: AppBar(
2929
leading: IconButton(
30-
icon: const Icon(Icons.close),
30+
icon: const Icon(Icons.arrow_back),
3131
onPressed: () {
3232
context.pop();
3333
},

lib/account/view/saved_headlines_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class SavedHeadlinesPage extends StatelessWidget {
2929
return Scaffold(
3030
appBar: AppBar(
3131
leading: IconButton(
32-
icon: const Icon(Icons.close),
32+
icon: const Icon(Icons.arrow_back),
3333
onPressed: () {
3434
context.pop();
3535
},

lib/settings/view/settings_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class SettingsPage extends StatelessWidget {
2525
return Scaffold(
2626
appBar: AppBar(
2727
leading: IconButton(
28-
icon: const Icon(Icons.close),
28+
icon: const Icon(Icons.arrow_back),
2929
onPressed: () {
3030
context.pop();
3131
},

0 commit comments

Comments
 (0)