This commit is contained in:
rang 2025-12-29 17:56:03 +08:00
parent 6ffd76a194
commit b0f5dd8951
18 changed files with 441 additions and 64 deletions

View file

@ -39,7 +39,7 @@ class AppSettingsPage extends HookConsumerWidget {
tiles: [
SettingsTile(
title: Text(S.of(context).language),
leading: const Icon(Icons.play_arrow),
leading: const Icon(Icons.language),
trailing: DropdownButton(
value: appSettings.language,
items: S.delegate.supportedLocales.map((locale) {
@ -66,6 +66,14 @@ class AppSettingsPage extends HookConsumerWidget {
context.pushNamed(Routes.playerSettings.name);
},
),
SettingsTile(
title: Text('下载设置'),
leading: const Icon(Icons.download),
description: Text('自定义下载设置'),
onPressed: (context) {
context.pushNamed(Routes.downloadSettings.name);
},
),
NavigationWithSwitchTile(
title: Text(S.of(context).autoTurnOnSleepTimer),
description: Text(S.of(context).automaticallyDescription),