|
|
@ -507,7 +507,6 @@ fun ForYouScreenPopulatedFeed(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
Box {
|
|
|
|
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -525,7 +524,6 @@ fun ForYouScreenPopulatedFeed(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
@DevicePreviews
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
@ -533,7 +531,6 @@ fun ForYouScreenOfflinePopulatedFeed(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
Box {
|
|
|
|
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -551,7 +548,6 @@ fun ForYouScreenOfflinePopulatedFeed(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
@DevicePreviews
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
@ -559,7 +555,6 @@ fun ForYouScreenTopicSelection(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
Box {
|
|
|
|
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -580,12 +575,10 @@ fun ForYouScreenTopicSelection(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
@DevicePreviews
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ForYouScreenLoading() {
|
|
|
|
fun ForYouScreenLoading() {
|
|
|
|
Box {
|
|
|
|
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -601,7 +594,6 @@ fun ForYouScreenLoading() {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@DevicePreviews
|
|
|
|
@DevicePreviews
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
@ -609,7 +601,6 @@ fun ForYouScreenPopulatedAndLoading(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
Box {
|
|
|
|
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = true,
|
|
|
|
isSyncing = true,
|
|
|
@ -627,4 +618,3 @@ fun ForYouScreenPopulatedAndLoading(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|