Skip to content

Commit

Permalink
Use actual album file size (need to make async)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmshrv committed Sep 29, 2023
1 parent 737e510 commit 9e44ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/DownloadsScreen/album_file_size.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AlbumFileSize extends StatelessWidget {
downloadsHelper.getDownloadedSong(item.id);

if (downloadedSong?.mediaSourceInfo.size != null) {
totalSize += downloadedSong!.mediaSourceInfo.size!;
totalSize += downloadedSong?.file.statSync().size ?? 0;
}
}

Expand Down

0 comments on commit 9e44ef2

Please sign in to comment.