use text color for the heart at Donate dialog
This commit is contained in:
parent
5b5a6b083f
commit
f2a870845b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import kotlinx.android.synthetic.main.dialog_donate.view.*
|
|||
class DonateDialog(val activity: Activity) {
|
||||
init {
|
||||
val view = activity.layoutInflater.inflate(R.layout.dialog_donate, null).apply {
|
||||
dialog_donate_image.applyColorFilter(activity.getProperPrimaryColor())
|
||||
dialog_donate_image.applyColorFilter(activity.getProperTextColor())
|
||||
dialog_donate_text.text = Html.fromHtml(activity.getString(R.string.donate_short))
|
||||
dialog_donate_text.movementMethod = LinkMovementMethod.getInstance()
|
||||
dialog_donate_image.setOnClickListener {
|
||||
|
|
Loading…
Reference in a new issue