Skip to content

Commit

Permalink
Changed param name to inLocalProjectOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
elliette committed Dec 12, 2024
1 parent 3cc73dc commit 0178182
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ class InspectorController extends DisposableController
final pendingSelectionFuture = group.getSelection(
selectedDiagnostic,
treeType,
inLocalProject: isSummaryTree,
inLocalProjectOnly: isSummaryTree,
);

final pendingDetailsFuture =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ class InspectorController extends DisposableController
treeType,
// If implementation widgets are hidden, the only widgets in the tree are
// those that were created by the local project.
inLocalProject: implementationWidgetsHidden.value,
inLocalProjectOnly: implementationWidgetsHidden.value,
);

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ class ObjectGroup extends InspectorObjectGroupBase {
Future<RemoteDiagnosticsNode?> getSelection(
RemoteDiagnosticsNode? previousSelection,
FlutterTreeType treeType, {
bool inLocalProject = false,
bool inLocalProjectOnly = false,
}) async {
// There is no reason to allow calling this method on a disposed group.
assert(!disposed);
Expand All @@ -1035,7 +1035,7 @@ class ObjectGroup extends InspectorObjectGroupBase {
switch (treeType) {
case FlutterTreeType.widget:
newSelection = await invokeServiceMethodReturningNodeInspectorRef(
inLocalProject
inLocalProjectOnly
? WidgetInspectorServiceExtensions.getSelectedSummaryWidget.name
: WidgetInspectorServiceExtensions.getSelectedWidget.name,
null,
Expand Down

0 comments on commit 0178182

Please sign in to comment.