mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 17:19:00 +03:00
remove tachiyomi links in about section
This commit is contained in:
parent
b21f01aab0
commit
e032cf90c0
2 changed files with 8 additions and 7 deletions
|
@ -19,14 +19,15 @@ class AboutLinksPreference @JvmOverloads constructor(context: Context, attrs: At
|
||||||
override fun onBindViewHolder(holder: PreferenceViewHolder) {
|
override fun onBindViewHolder(holder: PreferenceViewHolder) {
|
||||||
super.onBindViewHolder(holder)
|
super.onBindViewHolder(holder)
|
||||||
|
|
||||||
|
/*
|
||||||
holder.findViewById(R.id.btn_website).apply {
|
holder.findViewById(R.id.btn_website).apply {
|
||||||
setTooltip(contentDescription.toString())
|
setTooltip(contentDescription.toString())
|
||||||
setOnClickListener { context.openInBrowser("https://tachiyomi.org") }
|
setOnClickListener { context.openInBrowser("https://tachiyomi.org") }
|
||||||
}
|
}*/
|
||||||
holder.findViewById(R.id.btn_discord).apply {
|
holder.findViewById(R.id.btn_discord).apply {
|
||||||
setTooltip(contentDescription.toString())
|
setTooltip(contentDescription.toString())
|
||||||
setOnClickListener { context.openInBrowser("https://discord.gg/F32UjdJZrR") }
|
setOnClickListener { context.openInBrowser("https://discord.gg/F32UjdJZrR") }
|
||||||
}
|
} /*
|
||||||
holder.findViewById(R.id.btn_twitter).apply {
|
holder.findViewById(R.id.btn_twitter).apply {
|
||||||
setTooltip(contentDescription.toString())
|
setTooltip(contentDescription.toString())
|
||||||
setOnClickListener { context.openInBrowser("https://twitter.com/tachiyomiorg") }
|
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 {
|
holder.findViewById(R.id.btn_reddit).apply {
|
||||||
setTooltip(contentDescription.toString())
|
setTooltip(contentDescription.toString())
|
||||||
setOnClickListener { context.openInBrowser("https://www.reddit.com/r/Tachiyomi") }
|
setOnClickListener { context.openInBrowser("https://www.reddit.com/r/Tachiyomi") }
|
||||||
}
|
}*/
|
||||||
holder.findViewById(R.id.btn_github).apply {
|
holder.findViewById(R.id.btn_github).apply {
|
||||||
setTooltip(contentDescription.toString())
|
setTooltip(contentDescription.toString())
|
||||||
setOnClickListener { context.openInBrowser("https://github.com/jmir1/aniyomi") }
|
setOnClickListener { context.openInBrowser("https://github.com/jmir1/aniyomi") }
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<ImageButton
|
<!--<ImageButton
|
||||||
android:id="@+id/btn_website"
|
android:id="@+id/btn_website"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
android:contentDescription="@string/website"
|
android:contentDescription="@string/website"
|
||||||
android:padding="16dp"
|
android:padding="16dp"
|
||||||
android:src="@drawable/ic_public_24dp"
|
android:src="@drawable/ic_public_24dp"
|
||||||
app:tint="?attr/colorAccent" />
|
app:tint="?attr/colorAccent" />-->
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/btn_discord"
|
android:id="@+id/btn_discord"
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
android:padding="16dp"
|
android:padding="16dp"
|
||||||
android:src="@drawable/ic_discord_24dp"
|
android:src="@drawable/ic_discord_24dp"
|
||||||
app:tint="?attr/colorAccent"
|
app:tint="?attr/colorAccent"
|
||||||
tools:ignore="HardcodedText" />
|
tools:ignore="HardcodedText" /><!--
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/btn_twitter"
|
android:id="@+id/btn_twitter"
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
android:padding="16dp"
|
android:padding="16dp"
|
||||||
android:src="@drawable/ic_reddit_24dp"
|
android:src="@drawable/ic_reddit_24dp"
|
||||||
app:tint="?attr/colorAccent"
|
app:tint="?attr/colorAccent"
|
||||||
tools:ignore="HardcodedText" />
|
tools:ignore="HardcodedText" />-->
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/btn_github"
|
android:id="@+id/btn_github"
|
||||||
|
|
Loading…
Reference in a new issue