Skip to content

Commit 8645691

Browse files
committed
chore: misc
1 parent 67f11bb commit 8645691

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

lib/account/view/manage_followed_items/countries/add_country_to_follow_page.dart renamed to lib/account/view/followed_contents/countries/add_country_to_follow_page.dart

File renamed without changes.

lib/account/view/manage_followed_items/countries/followed_countries_list_page.dart renamed to lib/account/view/followed_contents/countries/followed_countries_list_page.dart

File renamed without changes.

lib/account/view/manage_followed_items/manage_followed_items_page.dart renamed to lib/account/view/followed_contents/followed_contents_page.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import 'package:flutter_news_app_mobile_client_full_source_code/router/routes.da
44
import 'package:go_router/go_router.dart';
55
import 'package:ui_kit/ui_kit.dart';
66

7-
/// {@template manage_followed_items_page}
7+
/// {@template followed_contents_page}
88
/// Page for navigating to lists of followed content types like
99
/// topics, sources, and countries.
1010
/// {@endtemplate}
11-
class ManageFollowedItemsPage extends StatelessWidget {
12-
/// {@macro manage_followed_items_page}
13-
const ManageFollowedItemsPage({super.key});
11+
class FollowedContentsPage extends StatelessWidget {
12+
/// {@macro followed_contents_page}
13+
const FollowedContentsPage({super.key});
1414

1515
@override
1616
Widget build(BuildContext context) {
@@ -22,7 +22,7 @@ class ManageFollowedItemsPage extends StatelessWidget {
2222
return Scaffold(
2323
appBar: AppBar(
2424
leading: IconButton(
25-
icon: const Icon(Icons.close),
25+
icon: const Icon(Icons.arrow_back),
2626
onPressed: () {
2727
context.pop();
2828
},

lib/account/view/manage_followed_items/sources/add_source_to_follow_page.dart renamed to lib/account/view/followed_contents/sources/add_source_to_follow_page.dart

File renamed without changes.

lib/account/view/manage_followed_items/sources/followed_sources_list_page.dart renamed to lib/account/view/followed_contents/sources/followed_sources_list_page.dart

File renamed without changes.

lib/account/view/manage_followed_items/topics/add_topic_to_follow_page.dart renamed to lib/account/view/followed_contents/topics/add_topic_to_follow_page.dart

File renamed without changes.

lib/account/view/manage_followed_items/topics/followed_topics_list_page.dart renamed to lib/account/view/followed_contents/topics/followed_topics_list_page.dart

File renamed without changes.

lib/router/router.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import 'package:data_repository/data_repository.dart';
44
import 'package:flutter/material.dart';
55
import 'package:flutter_bloc/flutter_bloc.dart';
66
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/account_page.dart';
7-
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/manage_followed_items/countries/add_country_to_follow_page.dart';
8-
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/manage_followed_items/countries/followed_countries_list_page.dart';
9-
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/manage_followed_items/manage_followed_items_page.dart';
10-
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/manage_followed_items/sources/add_source_to_follow_page.dart';
11-
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/manage_followed_items/sources/followed_sources_list_page.dart';
12-
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/manage_followed_items/topics/add_topic_to_follow_page.dart';
13-
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/manage_followed_items/topics/followed_topics_list_page.dart';
7+
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/followed_contents/countries/add_country_to_follow_page.dart';
8+
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/followed_contents/countries/followed_countries_list_page.dart';
9+
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/followed_contents/followed_contents_page.dart';
10+
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/followed_contents/sources/add_source_to_follow_page.dart';
11+
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/followed_contents/sources/followed_sources_list_page.dart';
12+
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/followed_contents/topics/add_topic_to_follow_page.dart';
13+
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/followed_contents/topics/followed_topics_list_page.dart';
1414
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/saved_filters_page.dart';
1515
import 'package:flutter_news_app_mobile_client_full_source_code/account/view/saved_headlines_page.dart';
1616
import 'package:flutter_news_app_mobile_client_full_source_code/ads/ad_service.dart';
@@ -312,7 +312,7 @@ GoRouter createRouter({
312312
GoRoute(
313313
path: Routes.manageFollowedItems,
314314
name: Routes.manageFollowedItemsName,
315-
builder: (context, state) => const ManageFollowedItemsPage(),
315+
builder: (context, state) => const FollowedContentsPage(),
316316
routes: [
317317
GoRoute(
318318
path: Routes.followedTopicsList,

0 commit comments

Comments
 (0)