mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-29 12:52:13 +02:00
style: simplify track metadata card headings
This commit is contained in:
@@ -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),
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -27,8 +27,6 @@ class _AudioInfoCard extends StatelessWidget {
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
Icon(Icons.analytics_outlined, color: cs.primary, size: 20),
|
||||
const SizedBox(width: 8),
|
||||
Expanded(
|
||||
child: Text(
|
||||
context.l10n.audioAnalysisTitle,
|
||||
|
||||
@@ -1551,8 +1551,6 @@ class _AudioAnalysisCardState extends State<AudioAnalysisCard> {
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Icon(Icons.info_outline, color: cs.primary, size: 24),
|
||||
const SizedBox(width: 12),
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@@ -1663,8 +1661,6 @@ class _AudioAnalysisCardState extends State<AudioAnalysisCard> {
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Row(
|
||||
children: [
|
||||
Icon(Icons.analytics_outlined, color: cs.primary, size: 28),
|
||||
const SizedBox(width: 16),
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
@@ -91,10 +91,6 @@ class _HiResCheckCardState extends State<HiResCheckCard> {
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
if (!mornye) ...[
|
||||
Icon(Icons.graphic_eq, color: cs.onSurfaceVariant, size: 22),
|
||||
const SizedBox(width: 10),
|
||||
],
|
||||
Expanded(
|
||||
child: Text(
|
||||
l10n.hiResCheckTitle,
|
||||
|
||||
Reference in New Issue
Block a user