|
|
|
@ -507,7 +507,6 @@ fun ForYouScreenPopulatedFeed(
|
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
|
) {
|
|
|
|
|
Box {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
ForYouScreen(
|
|
|
|
|
isSyncing = false,
|
|
|
|
@ -524,7 +523,6 @@ fun ForYouScreenPopulatedFeed(
|
|
|
|
|
onDeepLinkOpened = {},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
@ -533,7 +531,6 @@ fun ForYouScreenOfflinePopulatedFeed(
|
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
|
) {
|
|
|
|
|
Box {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
ForYouScreen(
|
|
|
|
|
isSyncing = false,
|
|
|
|
@ -550,7 +547,6 @@ fun ForYouScreenOfflinePopulatedFeed(
|
|
|
|
|
onDeepLinkOpened = {},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
@ -559,7 +555,6 @@ fun ForYouScreenTopicSelection(
|
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
|
) {
|
|
|
|
|
Box {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
ForYouScreen(
|
|
|
|
|
isSyncing = false,
|
|
|
|
@ -579,13 +574,11 @@ fun ForYouScreenTopicSelection(
|
|
|
|
|
onDeepLinkOpened = {},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
|
@Composable
|
|
|
|
|
fun ForYouScreenLoading() {
|
|
|
|
|
Box {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
ForYouScreen(
|
|
|
|
|
isSyncing = false,
|
|
|
|
@ -600,7 +593,6 @@ fun ForYouScreenLoading() {
|
|
|
|
|
onDeepLinkOpened = {},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
@ -609,7 +601,6 @@ fun ForYouScreenPopulatedAndLoading(
|
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
|
) {
|
|
|
|
|
Box {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
ForYouScreen(
|
|
|
|
|
isSyncing = true,
|
|
|
|
@ -626,5 +617,4 @@ fun ForYouScreenPopulatedAndLoading(
|
|
|
|
|
onDeepLinkOpened = {},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|