This commit is contained in:
kodjomoustapha 2025-01-07 12:46:09 +01:00
parent 61734faed5
commit 32b10b8a30

View file

@ -1490,7 +1490,9 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
children: [
Expanded(child: widget.action!),
Expanded(
child: StreamBuilder(
child: widget.itemType == ItemType.novel
? SizedBox.shrink()
: StreamBuilder(
stream: isar.trackPreferences
.filter()
.syncIdIsNotNull()
@ -1542,7 +1544,8 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
? l10n.one_tracker
: l10n.n_tracker(trackRes.length)
: l10n.tracking,
style: TextStyle(fontSize: 11, color: color),
style:
TextStyle(fontSize: 11, color: color),
textAlign: TextAlign.center,
),
],