From 16cb2e9b313791462c2b2c56acd54c99a01469fa Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 4 Dec 2020 12:15:41 +0100 Subject: [PATCH] Quick rule edit --- .../java/eu/faircode/email/AdapterFolder.java | 35 +++++++++++-------- app/src/main/res/layout/item_folder.xml | 7 ++-- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterFolder.java b/app/src/main/java/eu/faircode/email/AdapterFolder.java index 7115a21e08..495f7d1e9e 100644 --- a/app/src/main/java/eu/faircode/email/AdapterFolder.java +++ b/app/src/main/java/eu/faircode/email/AdapterFolder.java @@ -117,7 +117,7 @@ public class AdapterFolder extends RecyclerView.Adapter 0 || primary) && folder.unified ? View.VISIBLE : View.GONE); ivSubscribed.setVisibility(subscriptions && folder.subscribed != null && folder.subscribed ? View.VISIBLE : View.GONE); - ivRule.setVisibility(folder.rules > 0 ? View.VISIBLE : View.GONE); + ibRule.setVisibility(folder.rules > 0 ? View.VISIBLE : View.GONE); ivNotify.setVisibility(folder.notify ? View.VISIBLE : View.GONE); } @@ -389,6 +393,9 @@ public class AdapterFolder extends RecyclerView.Adapter -