Skip to content

Commit

Permalink
fix the filter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainaamr committed Feb 1, 2024
1 parent 780574f commit 1203fa2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class CourseDetailState extends ConsumerState<CourseDetail> {
appBar: CustomSearchTopNavBarWithBackButton(
searchController: searchController,
onClick: _handleSortOptionSelected,
filterOptions: [AppLocalizations.of(context)!.newest_first, AppLocalizations.of(context)!.oldest_first],
filterOptions: const ['Newest First', 'Oldest First'],
),
body: RefreshIndicator(
onRefresh: () => _refreshStreams(widget.courseId),
Expand Down

0 comments on commit 1203fa2

Please sign in to comment.