mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-29 17:49:03 +03:00
add reddit button (#310)
This commit is contained in:
parent
67c506d5a5
commit
7496707336
2 changed files with 5 additions and 4 deletions
|
@ -35,10 +35,11 @@ class AboutLinksPreference @JvmOverloads constructor(context: Context, attrs: At
|
|||
setTooltip(contentDescription.toString())
|
||||
setOnClickListener { context.openInBrowser("https://facebook.com/tachiyomiorg") }
|
||||
}
|
||||
*/
|
||||
holder.findViewById(R.id.btn_reddit).apply {
|
||||
setTooltip(contentDescription.toString())
|
||||
setOnClickListener { context.openInBrowser("https://www.reddit.com/r/Tachiyomi") }
|
||||
}*/
|
||||
setOnClickListener { context.openInBrowser("https://www.reddit.com/r/Aniyomi") }
|
||||
}
|
||||
holder.findViewById(R.id.btn_github).apply {
|
||||
setTooltip(contentDescription.toString())
|
||||
setOnClickListener { context.openInBrowser("https://github.com/jmir1/aniyomi") }
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
android:padding="16dp"
|
||||
android:src="@drawable/ic_facebook_24dp"
|
||||
app:tint="?attr/colorAccent"
|
||||
tools:ignore="HardcodedText" />
|
||||
tools:ignore="HardcodedText" />-->
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btn_reddit"
|
||||
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue