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:
parent
3678b124e0
commit
c28476c9cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user