remove tachiyomi links in about section

This commit is contained in:
jmir1 2021-06-20 10:21:36 +02:00
parent b21f01aab0
commit e032cf90c0
2 changed files with 8 additions and 7 deletions

View file

@ -19,14 +19,15 @@ class AboutLinksPreference @JvmOverloads constructor(context: Context, attrs: At
override fun onBindViewHolder(holder: PreferenceViewHolder) {
super.onBindViewHolder(holder)
/*
holder.findViewById(R.id.btn_website).apply {
setTooltip(contentDescription.toString())
setOnClickListener { context.openInBrowser("https://tachiyomi.org") }
}
}*/
holder.findViewById(R.id.btn_discord).apply {
setTooltip(contentDescription.toString())
setOnClickListener { context.openInBrowser("https://discord.gg/F32UjdJZrR") }
}
} /*
holder.findViewById(R.id.btn_twitter).apply {
setTooltip(contentDescription.toString())
setOnClickListener { context.openInBrowser("https://twitter.com/tachiyomiorg") }
@ -38,7 +39,7 @@ class AboutLinksPreference @JvmOverloads constructor(context: Context, attrs: At
holder.findViewById(R.id.btn_reddit).apply {
setTooltip(contentDescription.toString())
setOnClickListener { context.openInBrowser("https://www.reddit.com/r/Tachiyomi") }
}
}*/
holder.findViewById(R.id.btn_github).apply {
setTooltip(contentDescription.toString())
setOnClickListener { context.openInBrowser("https://github.com/jmir1/aniyomi") }

View file

@ -6,7 +6,7 @@
android:layout_height="wrap_content"
android:gravity="center">
<ImageButton
<!--<ImageButton
android:id="@+id/btn_website"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -14,7 +14,7 @@
android:contentDescription="@string/website"
android:padding="16dp"
android:src="@drawable/ic_public_24dp"
app:tint="?attr/colorAccent" />
app:tint="?attr/colorAccent" />-->
<ImageButton
android:id="@+id/btn_discord"
@ -25,7 +25,7 @@
android:padding="16dp"
android:src="@drawable/ic_discord_24dp"
app:tint="?attr/colorAccent"
tools:ignore="HardcodedText" />
tools:ignore="HardcodedText" /><!--
<ImageButton
android:id="@+id/btn_twitter"
@ -58,7 +58,7 @@
android:padding="16dp"
android:src="@drawable/ic_reddit_24dp"
app:tint="?attr/colorAccent"
tools:ignore="HardcodedText" />
tools:ignore="HardcodedText" />-->
<ImageButton
android:id="@+id/btn_github"