Renames global key to key
Summary: Renames global key to key Reviewed By: pentiumao Differential Revision: D49268637 fbshipit-source-id: 9c3e11ce78380048eed75d554170319e81892efd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8062e2c9e5
commit
ba94a2416c
@@ -78,7 +78,7 @@ object UIDebuggerLithoSupport {
|
|||||||
val treeId = event.renderStateId.toIntOrNull() ?: -1
|
val treeId = event.renderStateId.toIntOrNull() ?: -1
|
||||||
|
|
||||||
val globalKey =
|
val globalKey =
|
||||||
event.attributeOrNull<String>(DebugEventAttribute.GlobalKey)?.let {
|
event.attributeOrNull<String>("Key")?.let {
|
||||||
DebugComponent.generateGlobalKey(treeId, it).hashCode()
|
DebugComponent.generateGlobalKey(treeId, it).hashCode()
|
||||||
}
|
}
|
||||||
val duration = event.attributeOrNull<Duration>(DebugEventAttribute.duration)
|
val duration = event.attributeOrNull<Duration>(DebugEventAttribute.duration)
|
||||||
|
|||||||
Reference in New Issue
Block a user