Skip to content

Commit

Permalink
update method call from repository
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 committed Sep 28, 2024
1 parent 312f9cf commit 788e19e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mobile/lib/services/download.service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,7 @@ class DownloadService {
Future<bool> 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;
}
Expand Down

0 comments on commit 788e19e

Please sign in to comment.