|
|
|
@ -19,6 +19,9 @@ package eu.faircode.email;
|
|
|
|
|
Copyright 2018-2025 by Marcel Bokhorst (M66B)
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import static android.view.View.IMPORTANT_FOR_ACCESSIBILITY_NO;
|
|
|
|
|
import static android.view.View.IMPORTANT_FOR_ACCESSIBILITY_YES;
|
|
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
|
import android.content.Intent;
|
|
|
|
|
import android.content.SharedPreferences;
|
|
|
|
@ -172,6 +175,9 @@ public class AdapterNavAccountFolder extends RecyclerView.Adapter<AdapterNavAcco
|
|
|
|
|
tvItem.setTypeface(count == 0 ? Typeface.DEFAULT : Typeface.DEFAULT_BOLD);
|
|
|
|
|
tvItem.setVisibility(expanded ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
|
|
ivItem.setContentDescription(tvItem.getText());
|
|
|
|
|
ivItem.setImportantForAccessibility(expanded ? IMPORTANT_FOR_ACCESSIBILITY_NO : IMPORTANT_FOR_ACCESSIBILITY_YES);
|
|
|
|
|
|
|
|
|
|
if (account.folderName == null) {
|
|
|
|
|
if (account.last_connected != null && expanded && nav_last_sync) {
|
|
|
|
|
Calendar cal = Calendar.getInstance();
|
|
|
|
|