From 54cdbd07d727fffdfd0ef746581aa569a0d778d8 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 13 Jun 2024 10:10:21 +0200 Subject: [PATCH] Prevent NPE --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 0a290a82e5..7f90729340 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -10001,7 +10001,7 @@ public class FragmentMessages extends FragmentBase sb.append(i + 1).append(") ").append(trace.get(i)); } - new AlertDialog.Builder(getContext()) + new AlertDialog.Builder(v.getContext()) .setMessage(sb.toString()) .show(); }