summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2020-06-07 23:09:39 +0200
committerGitHub <noreply@github.com>2020-06-07 23:09:39 +0200
commit0c9b1de12f4ecd25a04033075c76d4f1fe5938bf (patch)
treed876ef49d81ff9f70ec8eb3d717930e311cf77a6 /app/src/main
parente7b3bcec5e42745bb361401b44ea2d7c6745e79b (diff)
parentd3641b394dff62972cf21e30b55f3481176e6183 (diff)
downloadAntennaPod-0c9b1de12f4ecd25a04033075c76d4f1fe5938bf.zip
Merge pull request #4225 from ByteHamster/support-channels
Updated forum link
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/fragment/preferences/MainPreferencesFragment.java6
-rw-r--r--app/src/main/res/layout/about.xml13
-rw-r--r--app/src/main/res/xml/preferences.xml2
3 files changed, 4 insertions, 17 deletions
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 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/webViewContainer"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
-
- <WebView
- android:id="@+id/webViewAbout"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
-</LinearLayout> \ 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" />
<Preference
- android:key="prefViewMailingList"
+ android:key="prefViewForum"
android:title="@string/visit_user_forum"
android:icon="?attr/ic_chat" />
<Preference