Skip to content

Commit

Permalink
fix: make repository private in LocationViewModel
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarinibruno committed Dec 19, 2024
1 parent 54055b1 commit 44e3ce9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ private const val TAG = "LocationViewModel"
* query input. It exposes StateFlows to observe query changes and location suggestions in a
* reactive way.
*/
class LocationViewModel(val repository: LocationModel) : ViewModel() {
class LocationViewModel(private val repository: LocationModel) : ViewModel() {

private val _query = MutableStateFlow("")
val query: StateFlow<String> = _query
Expand Down

0 comments on commit 44e3ce9

Please sign in to comment.