From 253c5b1424818fe3b0f900cb53afe286aa164beb Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 11 Feb 2019 15:01:49 +0000 Subject: [PATCH] Allow deleting operations in debug mode --- .../java/eu/faircode/email/AdapterOperation.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterOperation.java b/app/src/main/java/eu/faircode/email/AdapterOperation.java index 2bc122c4e4..255a2c6199 100644 --- a/app/src/main/java/eu/faircode/email/AdapterOperation.java +++ b/app/src/main/java/eu/faircode/email/AdapterOperation.java @@ -21,7 +21,9 @@ package eu.faircode.email; import android.content.Context; import android.content.Intent; +import android.content.SharedPreferences; import android.os.Bundle; +import android.preference.PreferenceManager; import android.text.format.DateUtils; import android.view.LayoutInflater; import android.view.View; @@ -46,6 +48,8 @@ public class AdapterOperation extends RecyclerView.Adapter all = new ArrayList<>(); private List filtered = new ArrayList<>(); @@ -70,13 +74,13 @@ public class AdapterOperation extends RecyclerView.Adapter