Rename SonarUtil file and method to Flipper

Summary: Rename SonarUtil file and method to Flipper

Reviewed By: passy

Differential Revision: D9920194

fbshipit-source-id: 3d1e360ccce613b7fbba10fb6b1fcaf0f15442a7
This commit is contained in:
Pritesh Nandgaonkar
2018-09-19 04:43:00 -07:00
committed by Facebook Github Bot
parent bc4e6705b7
commit ab00f3360e
3 changed files with 9 additions and 9 deletions

View File

@@ -84,15 +84,15 @@
__weak SonarKitLayoutPlugin *weakSelf = self;
[connection receive:@"getRoot" withBlock:^(NSDictionary *params, id<SonarResponder> responder) {
SonarPerformBlockOnMainThread(^{ [weakSelf onCallGetRoot: responder]; });
FlipperPerformBlockOnMainThread(^{ [weakSelf onCallGetRoot: responder]; });
}];
[connection receive:@"getNodes" withBlock:^(NSDictionary *params, id<SonarResponder> responder) {
SonarPerformBlockOnMainThread(^{ [weakSelf onCallGetNodes: params[@"ids"] withResponder: responder]; });
FlipperPerformBlockOnMainThread(^{ [weakSelf onCallGetNodes: params[@"ids"] withResponder: responder]; });
}];
[connection receive:@"setData" withBlock:^(NSDictionary *params, id<SonarResponder> responder) {
SonarPerformBlockOnMainThread(^{
FlipperPerformBlockOnMainThread(^{
[weakSelf onCallSetData: params[@"id"]
withPath: params[@"path"]
toValue: params[@"value"]
@@ -101,19 +101,19 @@
}];
[connection receive:@"setHighlighted" withBlock:^(NSDictionary *params, id<SonarResponder> responder) {
SonarPerformBlockOnMainThread(^{ [weakSelf onCallSetHighlighted: params[@"id"] withResponder: responder]; });
FlipperPerformBlockOnMainThread(^{ [weakSelf onCallSetHighlighted: params[@"id"] withResponder: responder]; });
}];
[connection receive:@"setSearchActive" withBlock:^(NSDictionary *params, id<SonarResponder> responder) {
SonarPerformBlockOnMainThread(^{ [weakSelf onCallSetSearchActive: [params[@"active"] boolValue] withConnection: connection]; });
FlipperPerformBlockOnMainThread(^{ [weakSelf onCallSetSearchActive: [params[@"active"] boolValue] withConnection: connection]; });
}];
[connection receive:@"isConsoleEnabled" withBlock:^(NSDictionary *params, id<SonarResponder> responder) {
SonarPerformBlockOnMainThread(^{ [responder success: @{@"isEnabled": @NO}];});
FlipperPerformBlockOnMainThread(^{ [responder success: @{@"isEnabled": @NO}];});
}];
[connection receive:@"getSearchResults" withBlock:^(NSDictionary *params, id<SonarResponder> responder) {
SonarPerformBlockOnMainThread(^{ [weakSelf onCallGetSearchResults: params[@"query"] withResponder: responder]; });
FlipperPerformBlockOnMainThread(^{ [weakSelf onCallGetSearchResults: params[@"query"] withResponder: responder]; });
}];
}