File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
lib/account/view/manage_followed_items/categories Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
2
2
import 'package:flutter_bloc/flutter_bloc.dart' ;
3
3
import 'package:go_router/go_router.dart' ;
4
4
import 'package:ht_main/account/bloc/account_bloc.dart' ;
5
+ import 'package:ht_main/entity_details/view/entity_details_page.dart' ; // Added
5
6
import 'package:ht_main/l10n/l10n.dart' ;
6
7
import 'package:ht_main/router/routes.dart' ;
7
8
import 'package:ht_main/shared/constants/app_spacing.dart' ;
@@ -111,6 +112,12 @@ class FollowedCategoriesListPage extends StatelessWidget {
111
112
)
112
113
: const Icon (Icons .category_outlined),
113
114
title: Text (category.name),
115
+ onTap: () { // Added onTap for navigation
116
+ context.push (
117
+ Routes .categoryDetails,
118
+ extra: EntityDetailsPageArguments (entity: category),
119
+ );
120
+ },
114
121
trailing: IconButton (
115
122
icon: Icon (
116
123
Icons .remove_circle_outline,
You can’t perform that action at this time.
0 commit comments