Unverified Commit 2c785684 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Navigation drawer: update Community

parent 522fc876
......@@ -20,6 +20,8 @@ class DefaultAccountsDrawerHandler: IAccountsDrawerHandler {
companion object {
private const val BETA_FEEDBACK_URI = "mailto:play@bitfire.at?subject=${BuildConfig.APPLICATION_ID}/${BuildConfig.VERSION_NAME} feedback (${BuildConfig.VERSION_CODE})"
const val COMMUNITY_URL = "https://github.com/bitfireAT/davx5-ose/discussions"
}
......@@ -56,9 +58,8 @@ class DefaultAccountsDrawerHandler: IAccountsDrawerHandler {
R.id.nav_faq ->
UiUtils.launchUri(activity,
App.homepageUrl(activity).buildUpon().appendPath("faq").build())
R.id.nav_forums ->
UiUtils.launchUri(activity,
App.homepageUrl(activity).buildUpon().appendPath("forums").build())
R.id.nav_community ->
UiUtils.launchUri(activity, Uri.parse(COMMUNITY_URL))
R.id.nav_donate ->
//if (BuildConfig.FLAVOR != App.FLAVOR_GOOGLE_PLAY)
UiUtils.launchUri(activity,
......
......@@ -52,9 +52,9 @@
android:icon="@drawable/ic_help"
android:title="@string/navigation_drawer_faq"/>
<item
android:id="@+id/nav_forums"
android:id="@+id/nav_community"
android:icon="@drawable/ic_forum"
android:title="@string/navigation_drawer_forums"/>
android:title="@string/navigation_drawer_community"/>
<item
android:id="@+id/nav_donate"
android:icon="@drawable/ic_attach_money"
......
......@@ -132,7 +132,7 @@
<string name="navigation_drawer_website">Web site</string>
<string name="navigation_drawer_manual">Manual</string>
<string name="navigation_drawer_faq">FAQ</string>
<string name="navigation_drawer_forums">Help / Forums</string>
<string name="navigation_drawer_community">Community</string>
<string name="navigation_drawer_donate">Donate</string>
<string name="navigation_drawer_privacy_policy">Privacy policy</string>
<string name="account_list_no_internet">No Internet connectivity. Android will not run synchronization.</string>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment