Fix touch cache not cleared when refreshing file list

This commit is contained in:
Ming Ming 2022-10-29 19:06:31 +08:00
parent 037fbd845d
commit 9e58a3a9ca

View file

@ -238,6 +238,7 @@ class ScanAccountDirBloc
bool isShareDirIncluded = false;
bool hasUpdate = false;
_c.touchManager.clearTouchCache();
for (final r in account.roots) {
final dirPath = file_util.unstripPath(account, r);
hasUpdate |= await SyncDir(_c)(account, dirPath);