mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Added swipe/reply option
This commit is contained in:
@@ -1990,7 +1990,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
boolean button_headers = prefs.getBoolean("button_headers", false);
|
||||
boolean button_unsubscribe = prefs.getBoolean("button_unsubscribe", true);
|
||||
boolean button_rule = prefs.getBoolean("button_rule", false);
|
||||
boolean experiments = prefs.getBoolean("experiments", false);
|
||||
boolean swipe_reply = prefs.getBoolean("swipe_reply", false);
|
||||
|
||||
ibHide.setImageResource(message.ui_snoozed == null ? R.drawable.twotone_visibility_off_24 : R.drawable.twotone_visibility_24);
|
||||
ibSeen.setImageResource(message.ui_seen ? R.drawable.twotone_mail_24 : R.drawable.twotone_drafts_24);
|
||||
@@ -2014,7 +2014,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
ibForceLight.setImageLevel(force_light ? 1 : 0);
|
||||
ibHide.setVisibility(tools && button_hide && !outbox ? View.VISIBLE : View.GONE);
|
||||
ibSeen.setVisibility(tools && button_seen && !outbox && seen ? View.VISIBLE : View.GONE);
|
||||
ibAnswer.setVisibility(!tools || outbox || (!expand_all && expand_one) || !threading || experiments ? View.GONE : View.VISIBLE);
|
||||
ibAnswer.setVisibility(!tools || outbox || (!expand_all && expand_one) || !threading || swipe_reply ? View.GONE : View.VISIBLE);
|
||||
ibNotes.setVisibility(tools && button_notes && !outbox ? View.VISIBLE : View.GONE);
|
||||
ibLabels.setVisibility(tools && labels_header && labels ? View.VISIBLE : View.GONE);
|
||||
ibKeywords.setVisibility(tools && button_keywords && keywords ? View.VISIBLE : View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user