remove newsResourceTitle

pull/600/head
Keisuke Takagi 2 years ago
parent abf2b6a725
commit 072364e7f1

@ -39,7 +39,7 @@ fun AnalyticsHelper.logScreenView(screenName: String) {
)
}
fun AnalyticsHelper.logNewsResourceOpened(newsResourceId: String, newsResourceTitle: String) {
fun AnalyticsHelper.logNewsResourceOpened(newsResourceId: String) {
logEvent(
event = AnalyticsEvent(
type = "news_resource_opened",

@ -67,7 +67,6 @@ fun LazyGridScope.newsFeed(
onClick = {
analyticsHelper.logNewsResourceOpened(
newsResourceId = userNewsResource.id,
newsResourceTitle = userNewsResource.title,
)
launchCustomChromeTab(context, resourceUrl, backgroundColor)
},

@ -56,7 +56,6 @@ fun LazyListScope.userNewsResourceCardItems(
onClick = {
analyticsHelper.logNewsResourceOpened(
newsResourceId = userNewsResource.id,
newsResourceTitle = userNewsResource.title,
)
when (onItemClick) {
null -> launchCustomChromeTab(context, resourceUrl, backgroundColor)

Loading…
Cancel
Save