generated from dellevin/template
优化清理缓存
This commit is contained in:
@@ -679,6 +679,8 @@ class _BackupPageState extends State<BackupPage> {
|
||||
await context.read<AppProvider>().loadBooks();
|
||||
await context.read<AppProvider>().loadNotes();
|
||||
await context.read<AppProvider>().loadGames();
|
||||
await context.read<AppProvider>().loadPlaylists();
|
||||
await context.read<AppProvider>().loadPeople();
|
||||
|
||||
if (!mounted) return;
|
||||
|
||||
|
||||
@@ -166,6 +166,8 @@ class _WebDAVSyncPageState extends State<WebDAVSyncPage> {
|
||||
await provider.loadBooks();
|
||||
await provider.loadNotes();
|
||||
await provider.loadGames();
|
||||
await provider.loadPlaylists();
|
||||
await provider.loadPeople();
|
||||
if (mounted) _showResultDialog('同步成功', details);
|
||||
} else {
|
||||
_showResultDialog('同步成功', details);
|
||||
|
||||
Reference in New Issue
Block a user