mirror of https://github.com/M66B/FairEmail.git
Set country code as content description
This commit is contained in:
parent
b73cd30e3e
commit
b62612350c
|
@ -5739,6 +5739,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
else
|
||||
ivFlag.setImageResource(resid);
|
||||
|
||||
ivFlag.setContentDescription(data.second.country);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
|
||||
ivFlag.setTooltipText(data.second.country);
|
||||
|
||||
tvHost.setText(data.first);
|
||||
tvOwner.setText(TextUtils.isEmpty(data.second.name) ? "?" : data.second.name);
|
||||
new Handler().post(new Runnable() {
|
||||
|
|
Loading…
Reference in New Issue