1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Refactoring

This commit is contained in:
M66B 2023-01-09 08:07:14 +01:00
parent 30b25990ea
commit 2c2f055fa8

View file

@ -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)