From 632bc62ed5d3a65ec732e188ca4a8de10735c3f4 Mon Sep 17 00:00:00 2001 From: Caren Chang Date: Tue, 1 Feb 2022 10:15:16 -0800 Subject: [PATCH] Rename ResourceCard -> NewsResourceCard Bug: 217354204 Change-Id: Ib854b1fe91fc36777760f97e863d68c37ff25782 --- .../{ResourceCard.kt => NewsResourceCard.kt} | 20 +++++++++---------- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) rename app/src/main/java/com/google/samples/apps/nowinandroid/ui/{ResourceCard.kt => NewsResourceCard.kt} (92%) diff --git a/app/src/main/java/com/google/samples/apps/nowinandroid/ui/ResourceCard.kt b/app/src/main/java/com/google/samples/apps/nowinandroid/ui/NewsResourceCard.kt similarity index 92% rename from app/src/main/java/com/google/samples/apps/nowinandroid/ui/ResourceCard.kt rename to app/src/main/java/com/google/samples/apps/nowinandroid/ui/NewsResourceCard.kt index 5c30e6a41..96001c9d4 100644 --- a/app/src/main/java/com/google/samples/apps/nowinandroid/ui/ResourceCard.kt +++ b/app/src/main/java/com/google/samples/apps/nowinandroid/ui/NewsResourceCard.kt @@ -64,56 +64,56 @@ fun BookmarkButton( } @Composable -fun ResourceAuthors( +fun NewsResourceAuthors( newsResource: NewsResource ) { TODO() } @Composable -fun ResourceHeaderImage( +fun NewsResourceHeaderImage( newsResource: NewsResource ) { TODO() } @Composable -fun ResourceTitle( +fun NewsResourceTitle( newsResource: NewsResource ) { TODO() } @Composable -fun ResourceDate( +fun NewsResourceDate( newsResource: NewsResource ) { TODO() } @Composable -fun ResourceLink( +fun NewsResourceLink( newsResource: NewsResource ) { TODO() } @Composable -fun ResourceShortDescription( +fun NewsResourceShortDescription( newsResource: NewsResource ) { TODO() } @Composable -fun ResourceTopics( +fun NewsResourceTopics( newsResource: NewsResource ) { TODO() } @Composable -fun ResourceCardExpanded() { +fun NewsResourceCardExpanded() { TODO() } @@ -140,10 +140,10 @@ fun BookmarkButtonBookmarkedPreview() { @Preview("Expanded resource card") @Preview("Expanded resource card (dark)", uiMode = Configuration.UI_MODE_NIGHT_YES) @Composable -fun ExpandedResourcePreview() { +fun ExpandedNewsResourcePreview() { NiaTheme { Surface { - ResourceCardExpanded() + NewsResourceCardExpanded() } } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d4de7d616..9c91267fd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -22,7 +22,7 @@ Done Loading for you… - + Bookmark Unbookmark