Small layout improvement

This commit is contained in:
M66B
2023-04-22 08:18:36 +02:00
parent 42e31cc6c7
commit 6f31ebc30e
2 changed files with 2 additions and 1 deletions

View File

@@ -206,6 +206,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
tvType.setText(sb.toString());
tvError.setText(attachment.error);
tvError.setTextColor(Helper.resolveColor(context, attachment.available ? R.attr.colorWarning : R.attr.colorError));
tvError.setVisibility(attachment.error == null ? View.GONE : View.VISIBLE);
if (properties != null) {