Add settings icon button to home UI for reopening path guidance

Co-authored-by: xkeyC <39891083+xkeyC@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-10-09 02:05:38 +00:00
parent bead4d9027
commit cbb2e12c03

View File

@@ -152,6 +152,14 @@ class HomeUI extends HookConsumerWidget {
onChanged: model.onChangeInstallPath, onChanged: model.onChangeInstallPath,
), ),
), ),
const SizedBox(width: 12),
Button(
onPressed: () => context.push("/guide"),
child: const Padding(
padding: EdgeInsets.all(6),
child: Icon(FluentIcons.settings),
),
),
if (S.current.app_language_code == NoL10n.langCodeZhCn) ...[ if (S.current.app_language_code == NoL10n.langCodeZhCn) ...[
const SizedBox(width: 12), const SizedBox(width: 12),
Button( Button(