diff --git a/mobile/lib/services/download.service.dart b/mobile/lib/services/download.service.dart index b81f1fac68054..80b0c1570ca14 100644 --- a/mobile/lib/services/download.service.dart +++ b/mobile/lib/services/download.service.dart @@ -86,11 +86,7 @@ class DownloadService { Future saveLivePhoto( Task task, ) async { - final records = await FileDownloader().database.allRecordsWithStatus( - TaskStatus.complete, - group: downloadGroupLivePhoto, - ); - + final records = await _downloadRepository.getLiveVideoTasks(); if (records.length != 2) { return false; }