Show disconnect folder with sync request as waiting

This commit is contained in:
M66B 2019-02-28 08:15:07 +00:00
parent 61240a541f
commit 2ffa73a196
1 changed files with 4 additions and 1 deletions

View File

@ -145,6 +145,9 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
else if ("closing".equals(folder.state))
ivState.setImageResource(R.drawable.baseline_close_24);
else if (folder.state == null)
if ("requested".equals(folder.sync_state))
ivState.setImageResource(R.drawable.baseline_hourglass_empty_24);
else
ivState.setImageResource(R.drawable.baseline_cloud_off_24);
else
ivState.setImageResource(android.R.drawable.stat_sys_warning);