From 2c2f055fa82592a59c5cc8166977e1d9921b2975 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 9 Jan 2023 08:07:14 +0100 Subject: [PATCH] Refactoring --- app/src/main/java/eu/faircode/email/ActivityView.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index b5c39bd301..a62583aee4 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -1868,11 +1868,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB .bigText(announcement.text)); if (announcement.link != null) { - Intent update = new Intent(Intent.ACTION_VIEW, announcement.link) + Intent link = new Intent(Intent.ACTION_VIEW, announcement.link) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - PendingIntent piUpdate = PendingIntentCompat.getActivity( - ActivityView.this, PI_ANNOUNCEMENT, update, PendingIntent.FLAG_UPDATE_CURRENT); - builder.setContentIntent(piUpdate); + PendingIntent piLink = PendingIntentCompat.getActivity( + ActivityView.this, PI_ANNOUNCEMENT, link, PendingIntent.FLAG_UPDATE_CURRENT); + builder.setContentIntent(piLink); } Intent manage = new Intent(ActivityView.this, ActivitySetup.class)