mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-01-11 22:40:36 +00:00
Fix author display logic to handle empty author names
This commit is contained in:
parent
b42e0ad4bd
commit
099805b21c
1 changed files with 3 additions and 1 deletions
|
|
@ -169,7 +169,9 @@ class _MangaDetailsViewState extends ConsumerState<MangaDetailsView> {
|
|||
Icon(Icons.person_outline, size: 14),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
widget.manga.author ?? l10n.unknown,
|
||||
(widget.manga.author?.isEmpty ?? false)
|
||||
? l10n.unknown
|
||||
: widget.manga.author!,
|
||||
style: const TextStyle(fontWeight: FontWeight.w500),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue