diff --git a/app/src/main/java/org/oxycblt/auxio/settings/AboutFragment.kt b/app/src/main/java/org/oxycblt/auxio/settings/AboutFragment.kt index 829cf74d1..81c52a22a 100644 --- a/app/src/main/java/org/oxycblt/auxio/settings/AboutFragment.kt +++ b/app/src/main/java/org/oxycblt/auxio/settings/AboutFragment.kt @@ -66,8 +66,9 @@ class AboutFragment : ViewBindingFragment() { binding.aboutVersion.text = BuildConfig.VERSION_NAME binding.aboutCode.setOnClickListener { openLinkInBrowser(LINK_SOURCE) } - binding.aboutFaq.setOnClickListener { openLinkInBrowser(LINK_FAQ) } + binding.aboutWiki.setOnClickListener { openLinkInBrowser(LINK_WIKI) } binding.aboutLicenses.setOnClickListener { openLinkInBrowser(LINK_LICENSES) } + binding.aboutAuthor.setOnClickListener { openLinkInBrowser(LINK_AUTHOR) } // VIEWMODEL SETUP collectImmediately(musicModel.statistics, ::updateStatistics) @@ -153,10 +154,12 @@ class AboutFragment : ViewBindingFragment() { companion object { /** The URL to the source code. */ - private const val LINK_SOURCE = "https://github.com/oxygencobalt/Auxio" - /** The URL to the FAQ document. */ - private const val LINK_FAQ = "$LINK_SOURCE/blob/master/info/FAQ.md" - /** The URL to the licenses document. */ - private const val LINK_LICENSES = "$LINK_SOURCE/blob/master/info/LICENSES.md" + private const val LINK_SOURCE = "https://github.com/OxygenCobalt/Auxio" + /** The URL to the app wiki. */ + private const val LINK_WIKI = "$LINK_SOURCE/wiki" + /** The URL to the licenses wiki page. */ + private const val LINK_LICENSES = "$LINK_WIKI/Licenses" + /** The URL to the app author. */ + private const val LINK_AUTHOR = "https://github.com/OxygenCobalt" } } diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml index 6c99a4f20..ff59ab335 100644 --- a/app/src/main/res/layout/fragment_about.xml +++ b/app/src/main/res/layout/fragment_about.xml @@ -124,17 +124,17 @@ android:layout_marginTop="@dimen/spacing_mid_medium" android:text="@string/lbl_code" app:drawableStartCompat="@drawable/ic_code_24" - app:layout_constraintBottom_toTopOf="@+id/about_faq" + app:layout_constraintBottom_toTopOf="@+id/about_wiki" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/about_version" /> + app:layout_constraintTop_toBottomOf="@+id/about_wiki" /> About Version Source code - FAQ + Wiki Licenses Library statistics