chore: hide empty description

This commit is contained in:
Kingkor Roy Tirtho 2023-11-17 13:23:31 +06:00
parent 28a5d6bb38
commit 1b087c6eb3

View File

@ -110,7 +110,8 @@ class TrackViewFlexHeader extends HookConsumerWidget {
children: [
Text(props.title, style: headingStyle),
const SizedBox(height: 10),
if (description != null)
if (description != null &&
description.isNotEmpty)
Text(
description,
style: defaultTextStyle.style.copyWith(