From a8e7fb1ec66623dc722716582efb6bdb0e465c44 Mon Sep 17 00:00:00 2001 From: Julien9969 <89881833+Julien9969@users.noreply.github.com> Date: Sat, 13 Sep 2025 14:27:45 +0200 Subject: [PATCH] feat: remove the unwatched orange dot and show watched (#485) --- .../shared/media/components/poster_image.dart | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/lib/screens/shared/media/components/poster_image.dart b/lib/screens/shared/media/components/poster_image.dart index e724df3..3e41267 100644 --- a/lib/screens/shared/media/components/poster_image.dart +++ b/lib/screens/shared/media/components/poster_image.dart @@ -1,3 +1,4 @@ +import 'package:fladder/models/items/movie_model.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; @@ -200,22 +201,6 @@ class _PosterImageState extends ConsumerState { ], ), ), - if (widget.poster.unWatched) - Align( - alignment: Alignment.topLeft, - child: StatusCard( - color: Colors.amber, - child: Padding( - padding: const EdgeInsets.all(10), - child: Container( - decoration: const BoxDecoration( - shape: BoxShape.circle, - color: Colors.amber, - ), - ), - ), - ), - ), if (widget.inlineTitle) IgnorePointer( child: Align( @@ -230,7 +215,8 @@ class _PosterImageState extends ConsumerState { ), ), ), - if (widget.poster.unPlayedItemCount != null && widget.poster is SeriesModel) + if ((widget.poster.unPlayedItemCount != null && widget.poster is SeriesModel) + || (widget.poster is MovieModel && !widget.poster.unWatched)) IgnorePointer( child: Align( alignment: Alignment.topRight,