From d3641b394dff62972cf21e30b55f3481176e6183 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 6 Jun 2020 13:01:45 +0200 Subject: [PATCH] Updated forum link --- .../preferences/MainPreferencesFragment.java | 6 +++--- app/src/main/res/layout/about.xml | 13 ------------- app/src/main/res/xml/preferences.xml | 2 +- 3 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 app/src/main/res/layout/about.xml 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 d9dd7c47d..406585808 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 @@ -20,7 +20,7 @@ public class MainPreferencesFragment extends PreferenceFragmentCompat { private static final String PREF_SCREEN_GPODDER = "prefScreenGpodder"; 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_VIEW_FORUM = "prefViewForum"; private static final String PREF_SEND_BUG_REPORT = "prefSendBugReport"; private static final String STATISTICS = "statistics"; private static final String PREF_ABOUT = "prefAbout"; @@ -78,8 +78,8 @@ public class MainPreferencesFragment extends PreferenceFragmentCompat { IntentUtils.openInBrowser(getContext(), "https://antennapod.org/faq.html"); return true; }); - findPreference(PREF_VIEW_MAILING_LIST).setOnPreferenceClickListener(preference -> { - IntentUtils.openInBrowser(getContext(), "https://groups.google.com/forum/#!forum/antennapod"); + findPreference(PREF_VIEW_FORUM).setOnPreferenceClickListener(preference -> { + IntentUtils.openInBrowser(getContext(), "https://forum.antennapod.org/"); return true; }); findPreference(PREF_SEND_BUG_REPORT).setOnPreferenceClickListener(preference -> { diff --git a/app/src/main/res/layout/about.xml b/app/src/main/res/layout/about.xml deleted file mode 100644 index 42f5e1245..000000000 --- a/app/src/main/res/layout/about.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 2141c811c..b69f27473 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -50,7 +50,7 @@ android:title="@string/pref_faq" android:icon="?attr/ic_questionmark" />