From 86b4f4ae80c42c1b83a1daf1e80e809707534ac1 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 16 Sep 2022 17:56:18 +0200 Subject: [PATCH] Small improvement --- .../main/java/eu/faircode/email/FragmentOptionsBehavior.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsBehavior.java b/app/src/main/java/eu/faircode/email/FragmentOptionsBehavior.java index e796574f46..8d1af840d0 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsBehavior.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsBehavior.java @@ -671,7 +671,10 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe if ((left != null && EntityMessage.SWIPE_ACTION_HIDE.equals(left.id)) || (right != null && EntityMessage.SWIPE_ACTION_HIDE.equals(right.id))) - prefs.edit().putBoolean("button_hide", true).apply(); + prefs.edit() + .putBoolean("message_tools", true) + .putBoolean("button_hide", true) + .apply(); Bundle args = new Bundle(); args.putLong("left", left == null ? 0 : left.id);