From a680b14763cfb769ea6a840d385a89ce7518a889 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Fri, 11 Nov 2022 15:57:10 +0100 Subject: [PATCH] Fix typos --- .../core/domain/GetSortedFollowableAuthorsStreamUseCase.kt | 2 +- .../samples/apps/nowinandroid/core/ui/JankStatsExtensions.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/domain/src/main/java/com/google/samples/apps/nowinandroid/core/domain/GetSortedFollowableAuthorsStreamUseCase.kt b/core/domain/src/main/java/com/google/samples/apps/nowinandroid/core/domain/GetSortedFollowableAuthorsStreamUseCase.kt index e1709e4cd..52e77fe1f 100644 --- a/core/domain/src/main/java/com/google/samples/apps/nowinandroid/core/domain/GetSortedFollowableAuthorsStreamUseCase.kt +++ b/core/domain/src/main/java/com/google/samples/apps/nowinandroid/core/domain/GetSortedFollowableAuthorsStreamUseCase.kt @@ -32,7 +32,7 @@ class GetSortedFollowableAuthorsStreamUseCase @Inject constructor( /** * 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): Flow> { return authorsRepository.getAuthorsStream().map { authors -> diff --git a/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/JankStatsExtensions.kt b/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/JankStatsExtensions.kt index 7a3500fbb..d4ca9180d 100644 --- a/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/JankStatsExtensions.kt +++ b/core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/JankStatsExtensions.kt @@ -30,9 +30,9 @@ import androidx.metrics.performance.PerformanceMetricsState.Holder import kotlinx.coroutines.CoroutineScope /** - * Retrieves [PerformanceMetricsState.MetricsStateHolder] from current [LocalView] and + * Retrieves [PerformanceMetricsState.Holder] from current [LocalView] and * remembers it until the View changes. - * @see PerformanceMetricsState.getForHierarchy + * @see PerformanceMetricsState.getHolderForHierarchy */ @Composable fun rememberMetricsStateHolder(): Holder {