mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Refactoring
This commit is contained in:
parent
30b25990ea
commit
2c2f055fa8
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue