From 75b7261dfb15d7b424a4037b99576085a0e2cf4d Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 14 Aug 2021 06:47:37 +0200 Subject: [PATCH] Added long press nav settings for main settings --- app/src/main/java/eu/faircode/email/ActivityView.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index d15ca752dd..698be2690a 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -375,6 +375,15 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB } }); + ibSettings.setOnLongClickListener(new View.OnLongClickListener() { + @Override + public boolean onLongClick(View view) { + startActivity(new Intent(ActivityView.this, ActivitySetup.class) + .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); + return true; + } + }); + // Fetch more messages ibFetchMore.setOnClickListener(new View.OnClickListener() { @Override