Add path rescan after returning from guide page

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

View File

@@ -154,7 +154,10 @@ class HomeUI extends HookConsumerWidget {
),
const SizedBox(width: 12),
Button(
onPressed: () => context.push("/guide"),
onPressed: () async {
await context.push("/guide");
await model.reScanPath();
},
child: const Padding(
padding: EdgeInsets.all(6),
child: Icon(FluentIcons.settings),