Displaying scope identifier
Summary: Ditto. Reviewed By: kevin0571 Differential Revision: D21742950 fbshipit-source-id: e2e1e1a7758c0e0c9f0041c4c59f3a59618acbe8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d6701e2f96
commit
925a5a4d61
@@ -217,11 +217,18 @@ static CK::StaticMutex _mutex = CK_MUTEX_INITIALIZER;
|
||||
}
|
||||
}
|
||||
|
||||
auto const identitySection = [NSMutableDictionary<NSString*, id> dictionary];
|
||||
if (auto const i = self.uniqueIdentifier) {
|
||||
identitySection[@"uniqueIdentifier"] = SKObject{i};
|
||||
}
|
||||
if (auto const node = self.treeNode) {
|
||||
if (auto const scopeIdentifier = std::get<2>(node.componentKey)) {
|
||||
identitySection[@"scopeIdentifier"] = scopeIdentifier;
|
||||
}
|
||||
}
|
||||
if (identitySection.count > 0) {
|
||||
[data addObject:[SKNamed newWithName:@"Identity"
|
||||
withValue:@{
|
||||
@"uniqueIdentifier" : SKObject{i},
|
||||
}]];
|
||||
withValue:identitySection]];
|
||||
}
|
||||
|
||||
// Only add accessibility panel if accessibilityContext is not default
|
||||
|
||||
Reference in New Issue
Block a user