Skip to content

Commit

Permalink
Posts divider brightness fix (now looks like in settings and profile)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen4n committed Sep 28, 2023
1 parent 66e6723 commit 5b7868b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b7868b

Please sign in to comment.