keep naming convention

This commit is contained in:
1xFF
2023-07-03 16:50:28 -07:00
parent 667e909a70
commit ab1f7e7179

View File

@@ -40,7 +40,7 @@ class APKPure extends AppSource {
var resChangelog = await sourceRequest(standardUrl);
if (res.statusCode == 200 && resChangelog.statusCode == 200) {
var html = parse(res.body);
var htmlAbout = parse(resChangelog.body);
var htmlChangelog = parse(resChangelog.body);
String? version = html.querySelector('span.info-sdk span')?.text.trim();
if (version == null) {
throw NoVersionError();
@@ -70,7 +70,7 @@ class APKPure extends AppSource {
Uri.parse(standardUrl).pathSegments.reversed.last;
String appName =
html.querySelector('h1.info-title')?.text.trim() ?? appId;
String? changeLog = htmlAbout.querySelector("div.whats-new-info p:not(.date)")?.innerHtml
String? changeLog = htmlChangelog.querySelector("div.whats-new-info p:not(.date)")?.innerHtml
.trim().replaceAll("<br>", " \n");
return APKDetails(version, apkUrls, AppNames(author, appName),
releaseDate: releaseDate,