mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Debug: show provider ID
This commit is contained in:
parent
e8b391a862
commit
729994a984
1 changed files with 4 additions and 1 deletions
|
@ -218,7 +218,10 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
||||||
tvName.setTextColor(account.unseen > 0 ? colorUnread : textColorSecondary);
|
tvName.setTextColor(account.unseen > 0 ? colorUnread : textColorSecondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
tvUser.setText(account.user);
|
StringBuilder user = new StringBuilder(account.user);
|
||||||
|
if (account.provider != null && (BuildConfig.DEBUG || debug))
|
||||||
|
user.append(" (").append(account.provider).append(')');
|
||||||
|
tvUser.setText(user);
|
||||||
|
|
||||||
if ("connected".equals(account.state)) {
|
if ("connected".equals(account.state)) {
|
||||||
ivState.setImageResource(R.drawable.twotone_cloud_done_24);
|
ivState.setImageResource(R.drawable.twotone_cloud_done_24);
|
||||||
|
|
Loading…
Reference in a new issue