Fix SwipeRefreshLayout theme

This commit is contained in:
tarsin committed 2022-12-26 19:01:35 +08:00
1 parent 764d1137ae
commit c6682ce718
5 files changed
+29 -7

No files matched your search

@@ -104,8 +104,6 @@ public class ContentLayout extends FrameLayout {
mBottomProgress = mContentView.findViewById(R.id.bottom_progress);
mFastScroller = mContentView.findViewById(R.id.fast_scroller);
mRecyclerView = mRefreshLayout.findViewById(R.id.recycler_view);
mRefreshLayout.setColorSchemeColors(ResourcesKt.resolveColor(context.getTheme(), androidx.appcompat.R.attr.colorPrimary));
mFastScroller.attachToRecyclerView(mRecyclerView);
HandlerDrawable drawable = new HandlerDrawable();
drawable.setColor(ResourcesKt.resolveColor(context.getTheme(), androidx.appcompat.R.attr.colorPrimary));