Minor bugfix

This commit is contained in:
Imran Remtulla
2024-12-20 19:08:41 +03:00
parent 966b1ee6e3
commit 48958748f6

View File

@ -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);