Debug: show provider ID

pull/207/head
M66B 3 years ago
parent e8b391a862
commit 729994a984

@ -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…
Cancel
Save