Skip to content

Commit

Permalink
Minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ImranR98 committed Dec 20, 2024
1 parent 966b1ee commit 4895874
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/app_sources/telegramapp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class TelegramApp extends AppSource {
throw NoVersionError();
}
String? apkUrl = 'https://telegram.org/dl/android/apk';
return APKDetails(version, getApkUrlsFromUrls([apkUrl]),
return APKDetails(
version,
[MapEntry<String, String>('telegram-$version.apk', apkUrl)],
AppNames('Telegram', 'Telegram'));
} else {
throw getObtainiumHttpError(res);
Expand Down

0 comments on commit 4895874

Please sign in to comment.