From 85a2f5a94fa3022c26699509baf121eac9b04534 Mon Sep 17 00:00:00 2001 From: Zerwin <46265592+Zerwin@users.noreply.github.com> Date: Fri, 27 Dec 2024 03:01:12 +0100 Subject: [PATCH] Update SplitChat.java --- mod/app/src/main/java/bttv/SplitChat.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/app/src/main/java/bttv/SplitChat.java b/mod/app/src/main/java/bttv/SplitChat.java index 9fd10199..cbb0a2ef 100644 --- a/mod/app/src/main/java/bttv/SplitChat.java +++ b/mod/app/src/main/java/bttv/SplitChat.java @@ -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;