Skip to content

Commit f6bdba0

Browse files
added comment to document what happens on tapping news resource card.
1 parent bbc80bb commit f6bdba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/ui/src/main/java/com/google/samples/apps/nowinandroid/core/ui/NewsResourceCardList.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import com.google.samples.apps.nowinandroid.core.model.data.UserNewsResource
3131
* [UserNewsResource]s.
3232
*
3333
* [onToggleBookmark] defines the action invoked when a user wishes to bookmark an item
34-
* Default action launches an intent matching the card.
34+
* When a news resource card is tapped it will open the news resource URL in a Chrome Custom Tab.
3535
*/
3636
fun LazyListScope.userNewsResourceCardItems(
3737
items: List<UserNewsResource>,

0 commit comments

Comments
 (0)