Skip to content

Commit

Permalink
fix: hierarcy -> hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
Isayah Vidito committed Mar 25, 2022
1 parent 57be50c commit 06a468f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/fi/razerman/youtube/XAdRemover.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,13 @@ public static void inspectComponentHost(Object item) {
Log.d("Litho", "Item is null.");
} else if (item.getClass().getSimpleName().contains("cwl")) {
Log.d("Litho", "Item is a cwl item.");
Log.i("Litho", getViewHierarcy((ViewGroup) item));
Log.i("Litho", getViewHierarchy((ViewGroup) item));
} else {
Log.d("Litho", "Item is not a cwl item.");
}
}

public static String getViewHierarcy(ViewGroup v) {
public static String getViewHierarchy(ViewGroup v) {
StringBuffer buf = new StringBuffer();
printViews(v, buf, 0);
return buf.toString();
Expand Down

0 comments on commit 06a468f

Please sign in to comment.