mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-10-14 05:58:44 +08:00
Add path rescan after returning from guide page
Co-authored-by: xkeyC <39891083+xkeyC@users.noreply.github.com>
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user