|
|
@ -508,7 +508,7 @@ fun ForYouScreenPopulatedFeed(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
BoxWithConstraints {
|
|
|
|
Box {
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -534,7 +534,7 @@ fun ForYouScreenOfflinePopulatedFeed(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
BoxWithConstraints {
|
|
|
|
Box {
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -560,7 +560,7 @@ fun ForYouScreenTopicSelection(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
BoxWithConstraints {
|
|
|
|
Box {
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -586,7 +586,7 @@ fun ForYouScreenTopicSelection(
|
|
|
|
@DevicePreviews
|
|
|
|
@DevicePreviews
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ForYouScreenLoading() {
|
|
|
|
fun ForYouScreenLoading() {
|
|
|
|
BoxWithConstraints {
|
|
|
|
Box {
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = false,
|
|
|
|
isSyncing = false,
|
|
|
@ -610,7 +610,7 @@ fun ForYouScreenPopulatedAndLoading(
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
@PreviewParameter(UserNewsResourcePreviewParameterProvider::class)
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
userNewsResources: List<UserNewsResource>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
BoxWithConstraints {
|
|
|
|
Box {
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
ForYouScreen(
|
|
|
|
ForYouScreen(
|
|
|
|
isSyncing = true,
|
|
|
|
isSyncing = true,
|
|
|
|