Open changelog inside App for supported Sources (#82)

This commit is contained in:
Imran Remtulla
2023-03-18 23:53:42 -04:00
parent bd0e322465
commit ef06ae289e
14 changed files with 100 additions and 69 deletions

View File

@ -118,9 +118,11 @@ class Codeberg extends AppSource {
if (version == null) {
throw NoVersionError();
}
var changeLog = targetRelease['body'].toString();
return APKDetails(version, targetRelease['apkUrls'] as List<String>,
getAppNames(standardUrl),
releaseDate: releaseDate);
releaseDate: releaseDate,
changeLog: changeLog.isEmpty ? null : changeLog);
} else {
throw getObtainiumHttpError(res);
}