mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Small layout improvement
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user