Renames debug event attributes and deduplicate them

Summary: Renames debug event attributes and deduplicate them

Reviewed By: pentiumao

Differential Revision: D49268777

fbshipit-source-id: 62f707424bb62e95a0d372307e7bf71ff770e554
This commit is contained in:
Aditya Sharat
2023-09-14 07:45:23 -07:00
committed by Facebook GitHub Bot
parent ba94a2416c
commit 134e1f6bfa

View File

@@ -84,7 +84,7 @@ object UIDebuggerLithoSupport {
val duration = event.attributeOrNull<Duration>(DebugEventAttribute.duration) val duration = event.attributeOrNull<Duration>(DebugEventAttribute.duration)
val attributes = mutableMapOf<String, String>() val attributes = mutableMapOf<String, String>()
val source = event.attributeOrNull<String>(DebugEventAttribute.source) val source = event.attributeOrNull<String>("source")
if (source != null) { if (source != null) {
attributes["source"] = source attributes["source"] = source
} }