mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Google dicates a link
This commit is contained in:
@@ -271,7 +271,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
drawerLayout.closeDrawer(drawerContainer);
|
||||
onMenuPrivacy();
|
||||
}
|
||||
}));
|
||||
}).setExternal(true));
|
||||
|
||||
menus.add(new NavMenuItem(R.drawable.twotone_info_24, R.string.menu_about, new Runnable() {
|
||||
@Override
|
||||
@@ -520,11 +520,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
}
|
||||
|
||||
private void onMenuPrivacy() {
|
||||
Bundle args = new Bundle();
|
||||
args.putString("name", "PRIVACY.md");
|
||||
FragmentDialogMarkdown fragment = new FragmentDialogMarkdown();
|
||||
fragment.setArguments(args);
|
||||
fragment.show(getSupportFragmentManager(), "privacy");
|
||||
Helper.view(this, Uri.parse(Helper.PRIVACY_URI), false);
|
||||
}
|
||||
|
||||
private void onMenuAbout() {
|
||||
|
||||
@@ -587,7 +587,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
drawerLayout.closeDrawer(drawerContainer);
|
||||
onMenuPrivacy();
|
||||
}
|
||||
}));
|
||||
}).setExternal(true));
|
||||
|
||||
extra.add(new NavMenuItem(R.drawable.twotone_info_24, R.string.menu_about, new Runnable() {
|
||||
@Override
|
||||
@@ -1326,11 +1326,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
}
|
||||
|
||||
private void onMenuPrivacy() {
|
||||
Bundle args = new Bundle();
|
||||
args.putString("name", "PRIVACY.md");
|
||||
FragmentDialogMarkdown fragment = new FragmentDialogMarkdown();
|
||||
fragment.setArguments(args);
|
||||
fragment.show(getSupportFragmentManager(), "privacy");
|
||||
Helper.view(this, Uri.parse(Helper.PRIVACY_URI), false);
|
||||
}
|
||||
|
||||
private void onMenuAbout() {
|
||||
|
||||
@@ -159,6 +159,7 @@ public class Helper {
|
||||
static final String PGP_BEGIN_MESSAGE = "-----BEGIN PGP MESSAGE-----";
|
||||
static final String PGP_END_MESSAGE = "-----END PGP MESSAGE-----";
|
||||
|
||||
static final String PRIVACY_URI = "https://email.faircode.eu/privacy/";
|
||||
static final String XDA_URI = "https://forum.xda-developers.com/showthread.php?t=3824168";
|
||||
static final String SUPPORT_URI = "https://contact.faircode.eu/?product=fairemailsupport&version=" + BuildConfig.VERSION_NAME;
|
||||
static final String TEST_URI = "https://play.google.com/apps/testing/" + BuildConfig.APPLICATION_ID;
|
||||
|
||||
Reference in New Issue
Block a user