File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
lib/account/view/manage_followed_items/sources 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' ;
@@ -95,6 +96,12 @@ class FollowedSourcesListPage extends StatelessWidget {
95
96
margin: const EdgeInsets .only (bottom: AppSpacing .sm),
96
97
child: ListTile (
97
98
title: Text (source.name),
99
+ onTap: () { // Added onTap for navigation
100
+ context.push (
101
+ Routes .sourceDetails,
102
+ extra: EntityDetailsPageArguments (entity: source),
103
+ );
104
+ },
98
105
trailing: IconButton (
99
106
icon: Icon (
100
107
Icons .remove_circle_outline,
You can’t perform that action at this time.
0 commit comments