Fix 'Please Wait' message on Apps page

This commit is contained in:
Imran Remtulla
2023-05-14 12:40:26 -04:00
parent 1606ad3442
commit eb0be196da

View File

@@ -543,14 +543,14 @@ class AppsPageState extends State<AppsPage> {
trailing: listedApps[index].downloadProgress != null trailing: listedApps[index].downloadProgress != null
? SizedBox( ? SizedBox(
width: 110, width: 110,
child: Text(tr('percentProgress', args: [ child: Text(listedApps[index].downloadProgress! >= 0
listedApps[index].downloadProgress! >= 0 ? tr('percentProgress', args: [
? listedApps[index] listedApps[index]
.downloadProgress! .downloadProgress!
.toInt() .toInt()
.toString() .toString()
: tr('pleaseWait') ])
]))) : tr('pleaseWait')))
: trailingRow, : trailingRow,
onTap: () { onTap: () {
if (selectedAppIds.isNotEmpty) { if (selectedAppIds.isNotEmpty) {