From 00c02730d7f4b85c7a99869272e807b76ef8894d Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Wed, 5 Nov 2025 13:29:32 +0100 Subject: [PATCH] refactor(sleep timer): remove default styling --- lib/widgets/plex_video_controls.dart | 50 +++++----------------------- 1 file changed, 8 insertions(+), 42 deletions(-) diff --git a/lib/widgets/plex_video_controls.dart b/lib/widgets/plex_video_controls.dart index 9bad972a..ae995575 100644 --- a/lib/widgets/plex_video_controls.dart +++ b/lib/widgets/plex_video_controls.dart @@ -1913,49 +1913,15 @@ class _PlexVideoControlsState extends State return ListTile( leading: Icon( - isDefault ? Icons.star : Icons.timer, - color: isDefault ? Colors.amber : Colors.white70, + Icons.timer, + color: Colors.white70, ), - title: Row( - children: [ - Text( - label, - style: TextStyle( - color: Colors.white, - fontWeight: isDefault - ? FontWeight.bold - : FontWeight.normal, - ), - ), - if (isDefault) ...[ - const SizedBox(width: 8), - Container( - padding: const EdgeInsets.symmetric( - horizontal: 8, - vertical: 2, - ), - decoration: BoxDecoration( - color: Colors.amber.withValues( - alpha: 0.2, - ), - borderRadius: BorderRadius.circular(12), - border: Border.all( - color: Colors.amber.withValues( - alpha: 0.5, - ), - ), - ), - child: const Text( - 'DEFAULT', - style: TextStyle( - color: Colors.amber, - fontSize: 10, - fontWeight: FontWeight.bold, - ), - ), - ), - ], - ], + title: Text( + label, + style: const TextStyle( + color: Colors.white, + fontWeight: FontWeight.normal, + ), ), onTap: () { sleepTimer.startTimer(