From 5b7868b44e39bb0168b15c3e617b4a883ad49e1a Mon Sep 17 00:00:00 2001 From: Xen4n Date: Thu, 28 Sep 2023 23:52:35 +0200 Subject: [PATCH] Posts divider brightness fix (now looks like in settings and profile) --- .../android/fragments/BaseStatusListFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java index 21c81a0f00..d3d16d4e80 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java @@ -931,9 +931,9 @@ private class StatusListItemDecoration extends RecyclerView.ItemDecoration{ private Paint dividerPaint=new Paint(); { - dividerPaint.setColor(UiUtils.getThemeColor(getActivity(), GlobalUserPreferences.showDividers ? R.attr.colorM3Outline : R.attr.colorM3Surface)); + dividerPaint.setColor(UiUtils.getThemeColor(getActivity(), GlobalUserPreferences.showDividers ? R.attr.colorM3OutlineVariant : R.attr.colorM3Surface)); dividerPaint.setStyle(Paint.Style.STROKE); - dividerPaint.setStrokeWidth(V.dp(0.5f)); + dividerPaint.setStrokeWidth(V.dp(1f)); } @Override