pull/418/head
Simon Marquis 2 years ago
parent 26e996bf74
commit a680b14763

@ -32,7 +32,7 @@ class GetSortedFollowableAuthorsStreamUseCase @Inject constructor(
/** /**
* Returns a list of authors with their associated followed state sorted alphabetically by name. * Returns a list of authors with their associated followed state sorted alphabetically by name.
* *
* @param followedTopicIds - the set of topic ids which are currently being followed. * @param followedAuthorIds - the set of topic ids which are currently being followed.
*/ */
operator fun invoke(followedAuthorIds: Set<String>): Flow<List<FollowableAuthor>> { operator fun invoke(followedAuthorIds: Set<String>): Flow<List<FollowableAuthor>> {
return authorsRepository.getAuthorsStream().map { authors -> return authorsRepository.getAuthorsStream().map { authors ->

@ -30,9 +30,9 @@ import androidx.metrics.performance.PerformanceMetricsState.Holder
import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.CoroutineScope
/** /**
* Retrieves [PerformanceMetricsState.MetricsStateHolder] from current [LocalView] and * Retrieves [PerformanceMetricsState.Holder] from current [LocalView] and
* remembers it until the View changes. * remembers it until the View changes.
* @see PerformanceMetricsState.getForHierarchy * @see PerformanceMetricsState.getHolderForHierarchy
*/ */
@Composable @Composable
fun rememberMetricsStateHolder(): Holder { fun rememberMetricsStateHolder(): Holder {

Loading…
Cancel
Save