Improve method name

Change-Id: Ifb05c761296a61f0eae78c04f1c0ec6ab416ca43
feature/interests-list-detail
Miłosz Moczkowski 1 year ago
parent a6633fd849
commit b19e89d140

@ -70,7 +70,7 @@ class InterestsViewModel @Inject constructor(
) )
val topicUiState: StateFlow<TopicUiState?> = topicId.flatMapLatest { topicId -> val topicUiState: StateFlow<TopicUiState?> = topicId.flatMapLatest { topicId ->
topicUiState( createTopicUiState(
topicId, topicId,
userDataRepository, userDataRepository,
userNewsResourceRepository, userNewsResourceRepository,
@ -101,7 +101,7 @@ class InterestsViewModel @Inject constructor(
} }
} }
private fun topicUiState( private fun createTopicUiState(
topicId: String?, topicId: String?,
userDataRepository: UserDataRepository, userDataRepository: UserDataRepository,
userNewsResourceRepository: UserNewsResourceRepository, userNewsResourceRepository: UserNewsResourceRepository,

Loading…
Cancel
Save