Skip to content

Commit 493cc38

Browse files
committed
chore: remove FeedsStateNotifier
The FeedsStateNotifier class was identical to StateNotifier and thus redundant. This commit removes FeedsStateNotifier and updates ActivityReactionListStateNotifier to directly extend StateNotifier.
1 parent eedb33f commit 493cc38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/stream_feeds/lib/src/state/activity_reaction_list_state.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import 'package:stream_core/stream_core.dart';
66
import '../models/feeds_reaction_data.dart';
77
import '../models/pagination_data.dart';
88
import '../models/query_configuration.dart';
9-
import '../utils/feeds_state_notifier.dart';
109
import 'query/activity_reactions_query.dart';
1110

1211
part 'activity_reaction_list_state.freezed.dart';
@@ -15,7 +14,8 @@ part 'activity_reaction_list_state.freezed.dart';
1514
///
1615
/// Provides methods to update the activity reaction list state in response to data changes
1716
/// and real-time events from the Stream Feeds API.
18-
class ActivityReactionListStateNotifier extends FeedsStateNotifier<ActivityReactionListState> {
17+
class ActivityReactionListStateNotifier
18+
extends StateNotifier<ActivityReactionListState> {
1919
ActivityReactionListStateNotifier({
2020
required ActivityReactionListState initialState,
2121
}) : super(initialState);

0 commit comments

Comments
 (0)