mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Debug: folders
This commit is contained in:
@@ -109,6 +109,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||
private int colorUnread;
|
||||
private int colorControlNormal;
|
||||
private int colorSeparator;
|
||||
private boolean debug;
|
||||
|
||||
private String search = null;
|
||||
private List<Long> disabledIds = new ArrayList<>();
|
||||
@@ -416,7 +417,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||
? textColorPrimary : textColorSecondary));
|
||||
ibSync.setEnabled(folder.last_sync != null);
|
||||
|
||||
tvKeywords.setText(BuildConfig.DEBUG ?
|
||||
tvKeywords.setText(debug ?
|
||||
(folder.separator == null ? "" : folder.separator + " ") +
|
||||
(folder.namespace == null ? "" : folder.namespace + " ") +
|
||||
(folder.flags == null ? null : TextUtils.join(" ", folder.flags) + " ") +
|
||||
@@ -1367,6 +1368,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||
this.colorUnread = (highlight_unread ? colorHighlight : Helper.resolveColor(context, R.attr.colorUnread));
|
||||
this.colorControlNormal = Helper.resolveColor(context, R.attr.colorControlNormal);
|
||||
this.colorSeparator = Helper.resolveColor(context, R.attr.colorSeparator);
|
||||
this.debug = prefs.getBoolean("debug", false);
|
||||
|
||||
setHasStableIds(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user