-
This commit is contained in:
parent
61734faed5
commit
32b10b8a30
1 changed files with 64 additions and 61 deletions
|
|
@ -1490,7 +1490,9 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: widget.action!),
|
Expanded(child: widget.action!),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: StreamBuilder(
|
child: widget.itemType == ItemType.novel
|
||||||
|
? SizedBox.shrink()
|
||||||
|
: StreamBuilder(
|
||||||
stream: isar.trackPreferences
|
stream: isar.trackPreferences
|
||||||
.filter()
|
.filter()
|
||||||
.syncIdIsNotNull()
|
.syncIdIsNotNull()
|
||||||
|
|
@ -1542,7 +1544,8 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
||||||
? l10n.one_tracker
|
? l10n.one_tracker
|
||||||
: l10n.n_tracker(trackRes.length)
|
: l10n.n_tracker(trackRes.length)
|
||||||
: l10n.tracking,
|
: l10n.tracking,
|
||||||
style: TextStyle(fontSize: 11, color: color),
|
style:
|
||||||
|
TextStyle(fontSize: 11, color: color),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue