소스 검색

Added Github link to about. (#1389)

* Added Github link to about.

* Added github link to About page (Fixed)

Fixed based on jogerj's comment in #1389

* Changed Github link to correct URL.

* Balanced brackets
jFields99 7 년 전
부모
커밋
86a599d13f
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAboutController.kt

+ 9 - 0
app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAboutController.kt

@@ -93,6 +93,15 @@ class SettingsAboutController : SettingsController() {
             titleRes = R.string.build_time
             summary = getFormattedBuildTime()
         }
+        preference {
+            title = "Github"
+            val url = "https://github.com/inorichi/tachiyomi"
+            summary = url
+            onClick {
+                val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+                startActivity(intent)
+            }
+        }
     }
 
     override fun onDestroyView(view: View) {