Skip to content

Commit

Permalink
Fix podcast tile font
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Aug 3, 2023
1 parent 465cbc2 commit b93cecb
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions lib/app/podcasts/podcast_audio_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 ?? '',
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b93cecb

Please sign in to comment.