mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-11 09:27:30 +00:00
fix: show no value for codec configuration in smaller screen
This commit is contained in:
parent
479064f296
commit
25a105b247
@ -463,6 +463,7 @@ class SettingsPage extends HookConsumerWidget {
|
|||||||
secondary: const Icon(SpotubeIcons.stream),
|
secondary: const Icon(SpotubeIcons.stream),
|
||||||
title: Text(context.l10n.streaming_music_codec),
|
title: Text(context.l10n.streaming_music_codec),
|
||||||
value: preferences.streamMusicCodec,
|
value: preferences.streamMusicCodec,
|
||||||
|
showValueWhenUnfolded: false,
|
||||||
options: MusicCodec.values
|
options: MusicCodec.values
|
||||||
.map((e) => DropdownMenuItem(
|
.map((e) => DropdownMenuItem(
|
||||||
value: e,
|
value: e,
|
||||||
@ -481,6 +482,7 @@ class SettingsPage extends HookConsumerWidget {
|
|||||||
secondary: const Icon(SpotubeIcons.file),
|
secondary: const Icon(SpotubeIcons.file),
|
||||||
title: Text(context.l10n.download_music_codec),
|
title: Text(context.l10n.download_music_codec),
|
||||||
value: preferences.downloadMusicCodec,
|
value: preferences.downloadMusicCodec,
|
||||||
|
showValueWhenUnfolded: false,
|
||||||
options: MusicCodec.values
|
options: MusicCodec.values
|
||||||
.map((e) => DropdownMenuItem(
|
.map((e) => DropdownMenuItem(
|
||||||
value: e,
|
value: e,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user