Updated forum link

This commit is contained in:
ByteHamster 2020-06-06 13:01:45 +02:00
parent a7b38bd152
commit d3641b394d
3 changed files with 4 additions and 17 deletions

View File

@ -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 -> {

View File

@ -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>

View File

@ -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