diff --git a/app/src/main/java/eu/faircode/email/ActivityBilling.java b/app/src/main/java/eu/faircode/email/ActivityBilling.java index 5509c09eb2..36e4a3641e 100644 --- a/app/src/main/java/eu/faircode/email/ActivityBilling.java +++ b/app/src/main/java/eu/faircode/email/ActivityBilling.java @@ -170,7 +170,7 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL if (result.getResponseCode() != BillingClient.BillingResponseCode.OK) Toast.makeText(this, text, Toast.LENGTH_LONG).show(); } else - Helper.view(this, this, getIntentPro()); + Helper.view(this, getIntentPro()); } private void onActivatePro(Intent intent) { diff --git a/app/src/main/java/eu/faircode/email/ActivitySetup.java b/app/src/main/java/eu/faircode/email/ActivitySetup.java index 6fdc89511d..c9a63d3738 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySetup.java +++ b/app/src/main/java/eu/faircode/email/ActivitySetup.java @@ -435,11 +435,11 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On } private void onMenuFAQ() { - Helper.view(this, this, Helper.getIntentFAQ()); + Helper.view(this, Helper.getIntentFAQ()); } private void onMenuPrivacy() { - Helper.view(this, this, Helper.getIntentPrivacy()); + Helper.view(this, Helper.getIntentPrivacy()); } private void onCleanup() { diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index 1f8a92bc4f..bdd6f75df4 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -817,7 +817,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB } private void onMenuFAQ() { - Helper.view(this, this, Helper.getIntentFAQ()); + Helper.view(this, Helper.getIntentFAQ()); } private void onMenuIssue() { @@ -825,7 +825,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB } private void onMenuPrivacy() { - Helper.view(this, this, Helper.getIntentPrivacy()); + Helper.view(this, Helper.getIntentPrivacy()); } private void onMenuAbout() { @@ -844,13 +844,13 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB private void onMenuRate() { Intent faq = Helper.getIntentFAQ(); if (faq.resolveActivity(getPackageManager()) == null) - Helper.view(this, this, getIntentRate(this)); + Helper.view(this, getIntentRate(this)); else new FragmentDialogRate().show(getSupportFragmentManager(), "rate"); } private void onMenuOtherApps() { - Helper.view(this, this, getIntentOtherApps()); + Helper.view(this, getIntentOtherApps()); } private void onReset() { @@ -1076,13 +1076,13 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB .setPositiveButton(R.string.title_yes, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { - Helper.view(getContext(), getActivity(), Helper.getIntentFAQ()); + Helper.view(getContext(), Helper.getIntentFAQ()); } }) .setNegativeButton(R.string.title_no, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { - Helper.view(getContext(), getActivity(), getIntentRate(getContext())); + Helper.view(getContext(), getIntentRate(getContext())); } }) .create(); diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index d965f0c502..9426cdc469 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -3497,14 +3497,14 @@ public class AdapterMessage extends RecyclerView.Adapter