Skip to content

Commit

Permalink
Rename Front -> First
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunicorn committed Nov 13, 2024
1 parent 1a3d03b commit ef8470a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/lib/features/spaces/providers/space_list_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final subSpacesListProvider =
return subSpacesList;
});

final allSpaceListWithBookmarkFrontProvider =
final allSpaceListWithBookmarkFirstProvider =
Provider.autoDispose<List<Space>>((ref) {
final bookmarkedSpaceList = ref.watch(bookmarkedSpacesProvider);
final othersSpaceList = ref.watch(unbookmarkedSpacesProvider);
Expand All @@ -35,7 +35,7 @@ final allSpaceListWithBookmarkFrontProvider =
});

final spaceListSearchProvider = Provider.autoDispose<List<Space>>((ref) {
final spaceList = ref.watch(allSpaceListWithBookmarkFrontProvider);
final spaceList = ref.watch(allSpaceListWithBookmarkFirstProvider);
final searchTerm =
ref.watch(spaceListSearchTermProvider).trim().toLowerCase();

Expand All @@ -55,7 +55,7 @@ final spaceListSearchProvider = Provider.autoDispose<List<Space>>((ref) {

//Space list for quick search value provider
final spaceListQuickSearchedProvider = Provider.autoDispose<List<Space>>((ref) {
final spaceList = ref.watch(allSpaceListWithBookmarkFrontProvider);
final spaceList = ref.watch(allSpaceListWithBookmarkFirstProvider);
final searchTerm = ref.watch(quickSearchValueProvider).trim().toLowerCase();

//Return all spaces if search is empty
Expand Down

0 comments on commit ef8470a

Please sign in to comment.