mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Refactoring
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user