From b93cecb8fad860d5256fc60edaf13cda258dc100 Mon Sep 17 00:00:00 2001 From: Feichtmeier Date: Thu, 3 Aug 2023 20:28:05 +0200 Subject: [PATCH] Fix podcast tile font --- lib/app/podcasts/podcast_audio_tile.dart | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/app/podcasts/podcast_audio_tile.dart b/lib/app/podcasts/podcast_audio_tile.dart index a4eea1aae..4fa77d822 100644 --- a/lib/app/podcasts/podcast_audio_tile.dart +++ b/lib/app/podcasts/podcast_audio_tile.dart @@ -38,13 +38,10 @@ class PodcastAudioTile extends StatelessWidget { final theme = Theme.of(context); final textStyle = TextStyle( color: selected ? theme.colorScheme.onSurface : theme.hintColor, - fontWeight: selected ? FontWeight.w500 : FontWeight.normal, + fontWeight: selected ? FontWeight.w500 : FontWeight.w400, + fontSize: 16, ); - // , ${audio.year != null ? DateFormat.MMMEd( - // WidgetsBinding.instance.platformDispatcher.locale.countryCode, - // ).format(DateTime.fromMillisecondsSinceEpoch(audio.year!)) : ''} - return YaruExpandable( isExpanded: isExpanded, gapHeight: 0, @@ -54,8 +51,8 @@ class PodcastAudioTile extends StatelessWidget { padding: const EdgeInsets.only( top: 15, bottom: 10, - right: 5, - left: 5, + right: 2, + left: 2, ), child: Text( audio.title ?? '', @@ -206,7 +203,7 @@ class _Bottom extends StatelessWidget { ], ), Padding( - padding: const EdgeInsets.only(top: 10, bottom: 15, left: 5), + padding: const EdgeInsets.only(top: 10, bottom: 15, left: 2), child: _Description( description: audio.description, title: audio.title,