Fix FCs in case of missing urls

This commit is contained in:
Rahul Kumar Patel
2022-02-19 22:54:51 +05:30
parent 85e09496c2
commit e40b0f3a44

View File

@@ -67,8 +67,8 @@ class HeaderView : RelativeLayout {
@JvmOverloads
@ModelProp
fun browseUrl(@Nullable browseUrl: String = String()) {
if (browseUrl.isEmpty())
fun browseUrl(@Nullable browseUrl: String? = String()) {
if (browseUrl.isNullOrEmpty())
B.imgAction.visibility = INVISIBLE
}