Skip to content

Commit

Permalink
fix: use title_element (#1620)
Browse files Browse the repository at this point in the history
* fix: use title_element

"title_element":{"title":"Santé"},"topics":["health"],"type":"card"}
"title_element":{"title":""},"topics":["environment"],"type":"card"}

* Update knowledge_panel_card.dart

Co-authored-by: Marvin M <39344769+M123-dev@users.noreply.github.com>
  • Loading branch information
teolemon and M123-dev authored Apr 23, 2022
1 parent e51691d commit bbecb75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class KnowledgePanelCard extends StatelessWidget {
child: KnowledgePanelSummaryCard(panel),
onTap: () {
AnalyticsHelper.trackKnowledgePanelOpen(
knowledgePanelName: panel.topics.toString(),
knowledgePanelName: panel.titleElement.toString(),
);
Navigator.push<Widget>(
context,
Expand Down

0 comments on commit bbecb75

Please sign in to comment.