mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-07 23:16:37 +00:00
Prevent crash
This commit is contained in:
parent
b736e38d3f
commit
24fa10b720
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
|||
ivState.setImageResource(R.drawable.baseline_cloud_off_24);
|
||||
ivState.setVisibility(account.synchronize ? View.VISIBLE : View.INVISIBLE);
|
||||
|
||||
tvLast.setText(new Date(account.last_connected).toString());
|
||||
tvLast.setText(account.last_connected == null ? null : new Date(account.last_connected).toString());
|
||||
tvLast.setVisibility(debug ? View.VISIBLE : View.GONE);
|
||||
|
||||
tvError.setText(account.error);
|
||||
|
|
Loading…
Reference in a new issue