From 2dce723a8d4e451d0f74f3feb249621b5468717a Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 20 Sep 2019 23:38:13 +0200 Subject: Added button to view mailing list --- .../antennapod/fragment/preferences/MainPreferencesFragment.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/src/main/java/de/danoeh/antennapod/fragment/preferences/MainPreferencesFragment.java') diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/MainPreferencesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/MainPreferencesFragment.java index d32aab5b5..31fb7ff8b 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/MainPreferencesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/MainPreferencesFragment.java @@ -25,6 +25,7 @@ public class MainPreferencesFragment extends PreferenceFragmentCompat { private static final String PREF_SCREEN_INTEGRATIONS = "prefScreenIntegrations"; private static final String PREF_SCREEN_STORAGE = "prefScreenStorage"; private static final String PREF_FAQ = "prefFaq"; + private static final String PREF_VIEW_MAILING_LIST = "prefViewMailingList"; private static final String PREF_SEND_BUG_REPORT = "prefSendBugReport"; private static final String STATISTICS = "statistics"; private static final String PREF_ABOUT = "prefAbout"; @@ -74,6 +75,10 @@ public class MainPreferencesFragment extends PreferenceFragmentCompat { openInBrowser("https://antennapod.org/faq.html"); return true; }); + findPreference(PREF_VIEW_MAILING_LIST).setOnPreferenceClickListener(preference -> { + openInBrowser("https://groups.google.com/forum/#!forum/antennapod"); + return true; + }); findPreference(PREF_SEND_BUG_REPORT).setOnPreferenceClickListener(preference -> { startActivity(new Intent(getActivity(), BugReportActivity.class)); return true; -- cgit v1.2.3