Hide empty location / description in calendar results
This commit is contained in:
parent
b61596370b
commit
0ebf0f872d
@ -153,7 +153,7 @@ fun CalendarItem(
|
|||||||
style = MaterialTheme.typography.bodySmall
|
style = MaterialTheme.typography.bodySmall
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (calendar.description != null) {
|
if (!calendar.description.isNullOrBlank()) {
|
||||||
Row(
|
Row(
|
||||||
Modifier
|
Modifier
|
||||||
.fillMaxWidth(),
|
.fillMaxWidth(),
|
||||||
@ -187,7 +187,7 @@ fun CalendarItem(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (calendar.location != null) {
|
if (!calendar.location.isNullOrBlank()) {
|
||||||
Row(
|
Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user