Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
fix-issue-3488
Browse files Browse the repository at this point in the history
  • Loading branch information
shamim-emon committed Sep 13, 2024
1 parent edbbda0 commit cba4d23
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class CategoriesViewModel @Inject constructor(
}
}

private fun filterCategories(queryString: String) {
private fun updateSearchQuery(queryString: String) {
searchQuery.value = queryString
}

Expand Down Expand Up @@ -263,7 +263,7 @@ class CategoriesViewModel @Inject constructor(
categoryModalData.value = event.categoryModalData
}

is CategoriesScreenEvent.OnSearchQueryUpdate -> filterCategories(event.queryString)
is CategoriesScreenEvent.OnSearchQueryUpdate -> updateSearchQuery(event.queryString)
}
}
}
Expand Down

0 comments on commit cba4d23

Please sign in to comment.