mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-03 16:50:40 +02:00
feat: add file format library quality label
This commit is contained in:
@@ -435,6 +435,9 @@ class _LibrarySettingsPageState extends ConsumerState<LibrarySettingsPage> {
|
||||
}
|
||||
|
||||
String _getQualityLabelModeLabel(BuildContext context, String mode) {
|
||||
if (mode == AppSettings.libraryQualityLabelFileFormat) {
|
||||
return context.l10n.libraryQualityLabelFileFormat;
|
||||
}
|
||||
if (mode == AppSettings.libraryQualityLabelBitDepthOnly) {
|
||||
return context.l10n.audioAnalysisBitDepth;
|
||||
}
|
||||
@@ -474,6 +477,11 @@ class _LibrarySettingsPageState extends ConsumerState<LibrarySettingsPage> {
|
||||
'${context.l10n.audioAnalysisBitDepth} & '
|
||||
'${context.l10n.trackConvertBitrate}',
|
||||
),
|
||||
(
|
||||
AppSettings.libraryQualityLabelFileFormat,
|
||||
Icons.audio_file_rounded,
|
||||
context.l10n.libraryQualityLabelFileFormat,
|
||||
),
|
||||
];
|
||||
showModalBottomSheet<void>(
|
||||
context: context,
|
||||
|
||||
@@ -149,7 +149,16 @@ class SettingsSearchCatalog {
|
||||
SettingsSearchEntry(
|
||||
icon: Icons.graphic_eq_rounded,
|
||||
title: l10n.trackAudioQuality,
|
||||
keywords: const ['quality label', 'bitrate', 'bit depth', 'kbps'],
|
||||
keywords: const [
|
||||
'quality label',
|
||||
'bitrate',
|
||||
'bit depth',
|
||||
'file format',
|
||||
'codec',
|
||||
'flac',
|
||||
'mp3',
|
||||
'kbps',
|
||||
],
|
||||
),
|
||||
SettingsSearchEntry(
|
||||
icon: Icons.library_music_outlined,
|
||||
|
||||
Reference in New Issue
Block a user