|
@@ -22,6 +22,9 @@ import java.text.ParseException
|
|
|
import java.text.SimpleDateFormat
|
|
|
import java.util.*
|
|
|
import eu.kanade.tachiyomi.data.preference.PreferenceKeys as Keys
|
|
|
+import android.content.Intent
|
|
|
+import android.net.Uri
|
|
|
+
|
|
|
|
|
|
class SettingsAboutController : SettingsController() {
|
|
|
|
|
@@ -66,6 +69,15 @@ class SettingsAboutController : SettingsController() {
|
|
|
isVisible = false
|
|
|
}
|
|
|
}
|
|
|
+ preference {
|
|
|
+ title = "Discord"
|
|
|
+ val url = "https://discord.gg/WrBkRk4"
|
|
|
+ summary = url
|
|
|
+ onClick {
|
|
|
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
|
|
|
+ startActivity(intent)
|
|
|
+ }
|
|
|
+ }
|
|
|
preference {
|
|
|
titleRes = R.string.version
|
|
|
summary = if (BuildConfig.DEBUG)
|