From f814408702dbee2dd2eece543a28350ae3f4d3c8 Mon Sep 17 00:00:00 2001 From: zarzet Date: Sun, 18 Jan 2026 12:59:10 +0700 Subject: [PATCH] style: reduce AppBar title font size to 16px for long titles --- lib/screens/album_screen.dart | 1 + lib/screens/artist_screen.dart | 8 +++++++- lib/screens/downloaded_album_screen.dart | 1 + lib/screens/playlist_screen.dart | 1 + lib/screens/track_metadata_screen.dart | 1 + 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/screens/album_screen.dart b/lib/screens/album_screen.dart index aad638f..1c701a5 100644 --- a/lib/screens/album_screen.dart +++ b/lib/screens/album_screen.dart @@ -228,6 +228,7 @@ class _AlbumScreenState extends ConsumerState { style: TextStyle( color: colorScheme.onSurface, fontWeight: FontWeight.w600, + fontSize: 16, ), maxLines: 1, overflow: TextOverflow.ellipsis, diff --git a/lib/screens/artist_screen.dart b/lib/screens/artist_screen.dart index 23b21cc..b0ea013 100644 --- a/lib/screens/artist_screen.dart +++ b/lib/screens/artist_screen.dart @@ -341,7 +341,13 @@ return SliverAppBar( opacity: _showTitleInAppBar ? 1.0 : 0.0, child: Text( widget.artistName, - style: TextStyle(color: colorScheme.onSurface), + style: TextStyle( + color: colorScheme.onSurface, + fontWeight: FontWeight.w600, + fontSize: 16, + ), + maxLines: 1, + overflow: TextOverflow.ellipsis, ), ), flexibleSpace: FlexibleSpaceBar( diff --git a/lib/screens/downloaded_album_screen.dart b/lib/screens/downloaded_album_screen.dart index 7536911..6ccec1d 100644 --- a/lib/screens/downloaded_album_screen.dart +++ b/lib/screens/downloaded_album_screen.dart @@ -313,6 +313,7 @@ class _DownloadedAlbumScreenState extends ConsumerState { style: TextStyle( color: colorScheme.onSurface, fontWeight: FontWeight.w600, + fontSize: 16, ), maxLines: 1, overflow: TextOverflow.ellipsis, diff --git a/lib/screens/playlist_screen.dart b/lib/screens/playlist_screen.dart index 3ff948f..380dc02 100644 --- a/lib/screens/playlist_screen.dart +++ b/lib/screens/playlist_screen.dart @@ -109,6 +109,7 @@ class _PlaylistScreenState extends ConsumerState { style: TextStyle( color: colorScheme.onSurface, fontWeight: FontWeight.w600, + fontSize: 16, ), maxLines: 1, overflow: TextOverflow.ellipsis, diff --git a/lib/screens/track_metadata_screen.dart b/lib/screens/track_metadata_screen.dart index 52b25ea..1f9134d 100644 --- a/lib/screens/track_metadata_screen.dart +++ b/lib/screens/track_metadata_screen.dart @@ -152,6 +152,7 @@ class _TrackMetadataScreenState extends ConsumerState { style: TextStyle( color: colorScheme.onSurface, fontWeight: FontWeight.w600, + fontSize: 16, ), maxLines: 1, overflow: TextOverflow.ellipsis,