You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (yearInReviewModel.localTopVisitedArticles.isNotEmpty()) {
325
+
val topVisitedArticles = yearInReviewModel.localTopVisitedArticles.take(3)
326
+
add(
327
+
HighlightItem(
328
+
title = context.resources.getQuantityString(R.plurals.year_in_review_highlights_logged_in_most_read_article_title, topVisitedArticles.size),
329
+
items = topVisitedArticles,
330
+
highlightColor =ComposeColors.Blue600
332
331
)
333
-
}
332
+
)
333
+
}
334
+
335
+
// Reading time
336
+
if (yearInReviewModel.totalReadingTimeMinutes >=YearInReviewViewModel.MIN_READING_MINUTES) {
334
337
add(
335
338
HighlightItem(
336
339
title = context.resources.getQuantityString(R.plurals.year_in_review_highlights_logged_in_minutes_read_title, yearInReviewModel.totalReadingTimeMinutes.toInt()),
title = context.resources.getQuantityString(R.plurals.year_in_review_highlights_logged_in_articles_read_title, yearInReviewModel.localReadingArticlesCount),
0 commit comments