✨ Endless playback
This commit is contained in:
@ -100,6 +100,17 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
);
|
||||
}),
|
||||
const Divider(thickness: 0.3, height: 1),
|
||||
Obx(
|
||||
() => SwitchListTile(
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: 24),
|
||||
secondary: const Icon(Icons.all_inclusive),
|
||||
title: const Text('Endless Playback'),
|
||||
subtitle: const Text(
|
||||
'Automatically get more recommendation for you after your queue finish playing'),
|
||||
value: _preferences.state.value.endlessPlayback,
|
||||
onChanged: _preferences.setEndlessPlayback,
|
||||
),
|
||||
),
|
||||
Obx(
|
||||
() => SwitchListTile(
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: 24),
|
||||
|
Reference in New Issue
Block a user