mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Explicitly show when not synchronizing
This commit is contained in:
@@ -81,7 +81,7 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
||||
private void bindTo(EntityAccount account) {
|
||||
ivPrimary.setVisibility(account.primary ? View.VISIBLE : View.INVISIBLE);
|
||||
tvName.setText(account.name);
|
||||
ivSync.setVisibility(account.synchronize ? View.VISIBLE : View.INVISIBLE);
|
||||
ivSync.setImageResource(account.synchronize ? R.drawable.baseline_sync_24 : R.drawable.baseline_sync_disabled_24);
|
||||
tvUser.setText(account.user);
|
||||
tvHost.setText(String.format("%s:%d", account.host, account.port));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user