Slight tweaks

This commit is contained in:
Imran Remtulla
2022-12-05 20:09:16 -05:00
parent 15183c3a95
commit bb4e470760
2 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ class _AppPageState extends State<AppPage> {
height: 32, height: 32,
), ),
Text( Text(
'Last Update Check: ${app?.app.lastUpdateCheck == null ? 'Never' : '\n${app?.app.lastUpdateCheck?.toLocal()}'}', 'Last Update Check: ${app?.app.lastUpdateCheck == null ? 'Never' : '\n${app?.app.lastUpdateCheck?.toLocal()}'}${app?.app.enhancedVersionDetection == true ? '\n\nThis App has enhanced version detection.' : ''}',
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: const TextStyle( style: const TextStyle(
fontStyle: FontStyle.italic, fontSize: 12), fontStyle: FontStyle.italic, fontSize: 12),

View File

@@ -33,8 +33,8 @@ class APKDetails {
APKDetails(this.versionFromSource, this.apkUrls) { APKDetails(this.versionFromSource, this.apkUrls) {
var temp = extractStandardVersionName(versionFromSource); var temp = extractStandardVersionName(versionFromSource);
this.isStandardVersion = temp != null; isStandardVersion = temp != null;
this.version = temp ?? versionFromSource; version = temp ?? versionFromSource;
} }
} }