Enhanced Version Detection (Again) (#144)

* Simpler approach to EVD

* Download notifs now have progress bars

* Removed unused import, changed some comments

* Re-added "Please Wait" on Apps list (accidentally removed)

* Updated README.md
This commit is contained in:
Imran Remtulla
2022-12-11 01:59:45 -05:00
committed by GitHub
parent da8695834e
commit f81f6374bb
9 changed files with 172 additions and 81 deletions

View File

@ -285,14 +285,17 @@ class AppsPageState extends State<AppsPage> {
mode: LaunchMode
.externalApplication);
},
child: Text(
'${tr('updateAvailable')}${sortedApps[index].app.trackOnly ? ' ${tr('estimateInBracketsShort')}' : ''}',
style: TextStyle(
fontStyle: FontStyle.italic,
decoration: changesUrl == null
? TextDecoration.none
: TextDecoration.underline),
))
child: appsProvider.areDownloadsRunning()
? Text(tr('pleaseWait'))
: Text(
'${tr('updateAvailable')}${sortedApps[index].app.trackOnly ? ' ${tr('estimateInBracketsShort')}' : ''}',
style: TextStyle(
fontStyle: FontStyle.italic,
decoration: changesUrl == null
? TextDecoration.none
: TextDecoration
.underline),
))
: const SizedBox(),
],
))),
@ -510,7 +513,14 @@ class AppsPageState extends State<AppsPage> {
.toString()
])),
content: Text(
tr('onlyAppliesToInstalledAndOutdatedApps')),
tr('onlyWorksWithNonEVDApps'),
style: const TextStyle(
fontWeight:
FontWeight
.bold,
fontStyle:
FontStyle.italic),
),
actions: [
TextButton(
onPressed: