mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
chore: hide empty description
This commit is contained in:
parent
28a5d6bb38
commit
1b087c6eb3
@ -110,7 +110,8 @@ class TrackViewFlexHeader extends HookConsumerWidget {
|
|||||||
children: [
|
children: [
|
||||||
Text(props.title, style: headingStyle),
|
Text(props.title, style: headingStyle),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
if (description != null)
|
if (description != null &&
|
||||||
|
description.isNotEmpty)
|
||||||
Text(
|
Text(
|
||||||
description,
|
description,
|
||||||
style: defaultTextStyle.style.copyWith(
|
style: defaultTextStyle.style.copyWith(
|
||||||
|
Loading…
Reference in New Issue
Block a user