Merge pull request #626 from amaurymedeiros/patch-1

Fix ForYouScreenTopicSelection Compose Preview
pull/629/head
Alex Vanyo 2 years ago committed by GitHub
commit 2388d4eb24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -453,7 +453,8 @@ fun ForYouScreenTopicSelection(
ForYouScreen(
isSyncing = false,
onboardingUiState = OnboardingUiState.Shown(
topics = userNewsResources.flatMap { news -> news.followableTopics },
topics = userNewsResources.flatMap { news -> news.followableTopics }
.distinctBy { it.topic.id },
),
feedState = NewsFeedUiState.Success(
feed = userNewsResources,

Loading…
Cancel
Save