fixing an About page background

This commit is contained in:
tibbi 2022-05-14 19:14:33 +02:00
parent 77af219613
commit 2cbc2777b4

View file

@ -15,7 +15,6 @@ import com.simplemobiletools.commons.extensions.*
import com.simplemobiletools.commons.helpers.*
import com.simplemobiletools.commons.models.FAQItem
import kotlinx.android.synthetic.main.activity_about.*
import java.util.*
class AboutActivity : BaseSimpleActivity() {
private var appName = ""
@ -184,6 +183,8 @@ class AboutActivity : BaseSimpleActivity() {
private fun setupInvite() {
if (resources.getBoolean(R.bool.hide_google_relations)) {
about_invite_holder.beGone()
} else if (about_rate_us_holder.isGone()) {
about_invite_holder.background = resources.getDrawable(R.drawable.ripple_top_corners, theme)
}
about_invite_holder.setOnClickListener {