mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 15:08:18 -07:00
fix: Improve watched logic for posters
This commit is contained in:
parent
a3ccb6009c
commit
0739247836
2 changed files with 3 additions and 2 deletions
|
|
@ -111,6 +111,8 @@ class ItemBaseModel with ItemBaseModelMappable {
|
|||
|
||||
bool get unWatched => !userData.played && userData.progress <= 0 && userData.unPlayedItemCount == 0;
|
||||
|
||||
bool get watched => userData.played;
|
||||
|
||||
String? detailedName(BuildContext context) => "$name${overview.yearAired != null ? " (${overview.yearAired})" : ""}";
|
||||
|
||||
String? get subText => null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue