Skip to content

Commit

Permalink
Fixed breaking bug from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Imran Remtulla committed Nov 6, 2022
1 parent 97ab723 commit f3ead6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/providers/apps_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class AppsProvider with ChangeNotifier {
'${app.id}-${app.latestVersion}-${app.preferredApkIndex}.apk';
String downloadUrl = await SourceProvider()
.getSource(app.url)
.apkUrlPrefetchModifier(app.url);
.apkUrlPrefetchModifier(app.apkUrls[app.preferredApkIndex]);
int? prevProg;
File downloadedFile =
await downloadFile(downloadUrl, fileName, (double? progress) {
Expand Down

0 comments on commit f3ead6c

Please sign in to comment.