Revert "Revert "Revert "Set item group text color to workaround an Android bug"""

This reverts commit 814969b289.
This commit is contained in:
M66B
2022-01-02 21:00:25 +01:00
parent 349d351164
commit e98d9242f8
4 changed files with 0 additions and 28 deletions

View File

@@ -145,9 +145,6 @@ public class FragmentAccounts extends FragmentBase {
rvAccount.addItemDecoration(itemDecorator);
}
int textColorSecondary = Helper.resolveColor(getContext(), android.R.attr.textColorSecondary);
int textColorTertiary = Helper.resolveColor(getContext(), android.R.attr.textColorTertiary);
DividerItemDecoration categoryDecorator = new DividerItemDecoration(getContext(), llm.getOrientation()) {
@Override
public void onDraw(@NonNull Canvas canvas, @NonNull RecyclerView parent, @NonNull RecyclerView.State state) {
@@ -199,9 +196,6 @@ public class FragmentAccounts extends FragmentBase {
TextView tvCategory = header.findViewById(R.id.tvCategory);
TextView tvDate = header.findViewById(R.id.tvDate);
tvCategory.setTextColor(textColorSecondary);
tvDate.setTextColor(textColorTertiary);
if (cards) {
View vSeparator = header.findViewById(R.id.vSeparator);
vSeparator.setVisibility(View.GONE);