2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

For #24206: Fix extra key values for context menu metrics.

This commit is contained in:
mcarare 2022-04-15 17:25:37 +03:00 committed by mergify[bot]
parent 3678b124e0
commit c28476c9cb

View File

@ -152,9 +152,9 @@ internal class ReleaseMetricController(
}
Component.FEATURE_CONTEXTMENU to ContextMenuFacts.Items.ITEM -> {
metadata?.get("item")?.let {
contextMenuAllowList[item]?.let {
ContextMenu.itemTapped.record(ContextMenu.ItemTappedExtra(it))
metadata?.get("item")?.let { item ->
contextMenuAllowList[item]?.let { extraKey ->
ContextMenu.itemTapped.record(ContextMenu.ItemTappedExtra(extraKey))
}
}
Unit