mirror of
https://github.com/madari-media/madari-oss.git
synced 2026-03-11 17:15:39 +00:00
Project import generated by Copybara.
GitOrigin-RevId: 847dfa699b098342e16ef2e1902b82257ad02c1e
This commit is contained in:
parent
2f50e0e01d
commit
6e360022ca
2 changed files with 2 additions and 4 deletions
|
|
@ -146,8 +146,6 @@ class _PlaybackSettingsScreenState extends State<PlaybackSettingsScreen> {
|
|||
);
|
||||
}
|
||||
|
||||
print(_defaultPlayerId);
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('Playback Settings'),
|
||||
|
|
@ -225,7 +223,7 @@ class _PlaybackSettingsScreenState extends State<PlaybackSettingsScreen> {
|
|||
ListTile(
|
||||
title: const Text('Default Player'),
|
||||
trailing: DropdownButton<String>(
|
||||
value: _defaultPlayerId,
|
||||
value: _defaultPlayerId == "" ? null : _defaultPlayerId,
|
||||
items: externalPlayers[currentPlatform]!
|
||||
.map(
|
||||
(item) => item.toDropdownMenuItem(),
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ class PlaybackConfig {
|
|||
|
||||
@JsonKey(defaultValue: false)
|
||||
final bool externalPlayer;
|
||||
final Map<String, String>? externalPlayerId;
|
||||
final Map<String, String?>? externalPlayerId;
|
||||
|
||||
PlaybackConfig({
|
||||
required this.autoPlay,
|
||||
|
|
|
|||
Loading…
Reference in a new issue