Skip to content

Commit

Permalink
Update SplitChat.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerwin authored Dec 27, 2024
1 parent 5a54dda commit 85a2f5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/app/src/main/java/bttv/SplitChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public static void setBackgroundColor(int position, RecyclerView.ViewHolder view
// make sure we only change chat message items,
// which are LinearLayouts with chat_message_item children.
// Anything else is ignored.
int chatMessageItemResId = ResUtil.getResourceId(context, "chat_message_item", "id"));
int chommentRootViewResId = ResUtil.getResourceId(context, "chomment_root_view", "id");
if(view instanceof LinearLayout) {
Log.d(TAG, "view is LinearLayout: " + view.toString());
LinearLayout linearLayout = (LinearLayout) view;
Expand Down

0 comments on commit 85a2f5a

Please sign in to comment.