Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ Diego Velásquez <diego.velasquez.lopez@gmail.com>
Hajime Nakamura <nkmrhj@gmail.com>
Tuyển Vũ Xuân <netsoft1985@gmail.com>
Sarthak Verma <sarthak@artiosys.com>
Mike Diarmid <mike@invertase.io>
Invertase <oss@invertase.io>
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ - (void)handleTraceStop:(FlutterMethodCall *)call result:(FlutterResult)result {

NSDictionary *attributes = call.arguments[@"attributes"];
[attributes enumerateKeysAndObjectsUsingBlock:^(NSString *key, NSString *value, BOOL *stop) {
[trace setValue:key forAttribute:value];
[trace setValue:value forAttribute:key];
}];

[trace stop];
Expand Down Expand Up @@ -149,7 +149,7 @@ - (void)handleHttpMetricStop:(FlutterMethodCall *)call result:(FlutterResult)res

NSDictionary *attributes = call.arguments[@"attributes"];
[attributes enumerateKeysAndObjectsUsingBlock:^(NSString *key, NSString *value, BOOL *stop) {
[metric setValue:key forAttribute:value];
[metric setValue:value forAttribute:key];
}];

[metric stop];
Expand Down