fix: run preview creation after sync fd status

This commit is contained in:
Prateek Sunal
2025-02-20 13:08:56 +05:30
parent 7b902a607a
commit 3f358b9511

View File

@@ -58,10 +58,9 @@ class PreviewVideoStore {
void init(SharedPreferences prefs) {
_prefs = prefs;
Future.delayed(
const Duration(seconds: 10),
_putFilesForPreviewCreation,
);
FileDataService.instance.syncFDStatus().then(
(_) => _putFilesForPreviewCreation(),
);
}
late final SharedPreferences _prefs;