mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-08 20:12:39 +01:00
Do not show text panel if blank
This commit is contained in:
parent
b3d4a07129
commit
1b2c5c3853
@ -188,7 +188,7 @@ class ImageActivity : KauBaseActivity() {
|
||||
private fun ActivityImageBinding.onCreate() {
|
||||
imageContainer.setBackgroundColor(baseBackgroundColor)
|
||||
this@ImageActivity.imageText.also { text ->
|
||||
if (text == null) {
|
||||
if (text.isNullOrBlank()) {
|
||||
imageText.gone()
|
||||
} else {
|
||||
imageText.setTextColor(if (Prefs.blackMediaBg) Color.WHITE else Prefs.textColor)
|
||||
|
Loading…
Reference in New Issue
Block a user