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:
committed by
Facebook GitHub Bot
parent
ba94a2416c
commit
134e1f6bfa
@@ -84,7 +84,7 @@ object UIDebuggerLithoSupport {
|
||||
val duration = event.attributeOrNull<Duration>(DebugEventAttribute.duration)
|
||||
|
||||
val attributes = mutableMapOf<String, String>()
|
||||
val source = event.attributeOrNull<String>(DebugEventAttribute.source)
|
||||
val source = event.attributeOrNull<String>("source")
|
||||
if (source != null) {
|
||||
attributes["source"] = source
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user