Merge pull request #4225 from ByteHamster/support-channels
Updated forum link
This commit is contained in:
commit
0c9b1de12f
|
@ -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 -> {
|
||||
|
|
|
@ -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>
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue