Detail view: show opening hours description also if open 24/7

This commit is contained in:
johan12345
2021-11-14 16:40:06 +01:00
parent a93bacd9b3
commit a5b55479cb

View File

@@ -84,7 +84,7 @@ fun buildDetails(
loc.openinghours.getStatusText(ctx)
else
loc.openinghours.description ?: "",
if (loc.openinghours.days != null) loc.openinghours.description else null,
if (loc.openinghours.days != null || loc.openinghours.twentyfourSeven) loc.openinghours.description else null,
hoursDays = loc.openinghours.days
) else null,
if (loc.cost != null) DetailsAdapter.Detail(