From 29ea8b8d4c96e71abd942697d34e409b5c2f997f Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 31 May 2024 07:59:27 +0200 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java b/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java index 60a8a19aab..4817b5ec39 100644 --- a/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java +++ b/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java @@ -298,6 +298,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase { ibCopy.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { + final Context context = v.getContext(); ClipboardManager clipboard = Helper.getSystemService(context, ClipboardManager.class); if (clipboard == null) return;