style: simplify track metadata card headings

This commit is contained in:
zarzet committed 2026-09-25 20:05:19 +07:00
1 parent 3be9f40380
commit 8ab201cb82
5 files changed
+12 -56

No files matched your search

+12 -38
View File
@@ -327,24 +327,12 @@ extension _TrackMetadataCards on _TrackMetadataScreenState {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Icon(
context.isMornye ? CupertinoIcons.info : Icons.info_outline,
size: 20,
color: colorScheme.primary,
),
const SizedBox(width: 8),
Expanded(
child: Text(
context.l10n.trackMetadata,
style: Theme.of(context).textTheme.titleMedium?.copyWith(
fontWeight: FontWeight.w600,
color: colorScheme.onSurface,
),
),
),
],
Text(
context.l10n.trackMetadata,
style: Theme.of(context).textTheme.titleMedium?.copyWith(
fontWeight: FontWeight.w600,
color: colorScheme.onSurface,
),
),
const SizedBox(height: 16),
@@ -772,26 +760,12 @@ extension _TrackMetadataCards on _TrackMetadataScreenState {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Icon(
context.isMornye
? CupertinoIcons.folder
: Icons.folder_outlined,
size: 20,
color: colorScheme.primary,
),
const SizedBox(width: 8),
Expanded(
child: Text(
context.l10n.trackFileInfo,
style: Theme.of(context).textTheme.titleMedium?.copyWith(
fontWeight: FontWeight.w600,
color: colorScheme.onSurface,
),
),
),
],
Text(
context.l10n.trackFileInfo,
style: Theme.of(context).textTheme.titleMedium?.copyWith(
fontWeight: FontWeight.w600,
color: colorScheme.onSurface,
),
),
const SizedBox(height: 16),
-8
View File
@@ -16,14 +16,6 @@ extension _TrackMetadataLyricsAndSaving on _TrackMetadataScreenState {
children: [
Row(
children: [
Icon(
context.isMornye
? CupertinoIcons.quote_bubble
: Icons.lyrics_outlined,
size: 20,
color: colorScheme.primary,
),
const SizedBox(width: 8),
Expanded(
child: Text(
context.l10n.trackLyrics,