@@ -104,7 +104,7 @@ class SelectLocationViewModel(
104
104
}
105
105
}
106
106
107
- fun searchRelayListLocations () =
107
+ private fun searchRelayListLocations () =
108
108
combine(
109
109
_searchTerm ,
110
110
filteredRelayListUseCase(),
@@ -120,7 +120,7 @@ class SelectLocationViewModel(
120
120
.onEach { _expandedItems .value = it.first }
121
121
.map { it.second }
122
122
123
- fun filterChips () =
123
+ private fun filterChips () =
124
124
combine(
125
125
relayListFilterRepository.selectedOwnership,
126
126
relayListFilterRepository.selectedProviders,
@@ -149,7 +149,7 @@ class SelectLocationViewModel(
149
149
}
150
150
}
151
151
152
- fun relayListItems () =
152
+ private fun relayListItems () =
153
153
combine(
154
154
_searchTerm ,
155
155
searchRelayListLocations(),
@@ -176,7 +176,7 @@ class SelectLocationViewModel(
176
176
}
177
177
}
178
178
179
- fun createRelayListItems (
179
+ private fun createRelayListItems (
180
180
isSearching : Boolean ,
181
181
selectedItem : RelayItemId ? ,
182
182
customLists : List <RelayItem .CustomList >,
@@ -186,7 +186,7 @@ class SelectLocationViewModel(
186
186
createCustomListSection(isSearching, selectedItem, customLists, isExpanded) +
187
187
createLocationSection(isSearching, selectedItem, countries, isExpanded)
188
188
189
- fun createCustomListSection (
189
+ private fun createCustomListSection (
190
190
isSearching : Boolean ,
191
191
selectedItem : RelayItemId ? ,
192
192
customLists : List <RelayItem .CustomList >,
@@ -202,7 +202,7 @@ class SelectLocationViewModel(
202
202
}
203
203
}
204
204
205
- fun createCustomListRelayItems (
205
+ private fun createCustomListRelayItems (
206
206
customLists : List <RelayItem .CustomList >,
207
207
selectedItem : RelayItemId ? ,
208
208
isExpanded : (String ) -> Boolean
@@ -228,7 +228,7 @@ class SelectLocationViewModel(
228
228
}
229
229
}
230
230
231
- fun createLocationSection (
231
+ private fun createLocationSection (
232
232
isSearching : Boolean ,
233
233
selectedItem : RelayItemId ? ,
234
234
countries : List <RelayItem .Location .Country >,
@@ -246,7 +246,7 @@ class SelectLocationViewModel(
246
246
}
247
247
}
248
248
249
- fun createCustomListEntry (
249
+ private fun createCustomListEntry (
250
250
parent : CustomListId ,
251
251
item : RelayItem .Location ,
252
252
depth : Int = 1,
@@ -282,7 +282,7 @@ class SelectLocationViewModel(
282
282
}
283
283
}
284
284
285
- fun createGeoLocationEntry (
285
+ private fun createGeoLocationEntry (
286
286
item : RelayItem .Location ,
287
287
selectedItem : RelayItemId ? ,
288
288
depth : Int = 0,
0 commit comments