mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-31 21:00:15 +02:00
UI bugfix (#723)
This commit is contained in:
@@ -543,20 +543,19 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
: FontWeight.normal)),
|
: FontWeight.normal)),
|
||||||
trailing: listedApps[index].downloadProgress != null
|
trailing: listedApps[index].downloadProgress != null
|
||||||
? SizedBox(
|
? SizedBox(
|
||||||
width: 90,
|
|
||||||
child: Text(
|
child: Text(
|
||||||
listedApps[index].downloadProgress! >= 0
|
listedApps[index].downloadProgress! >= 0
|
||||||
? tr('percentProgress', args: [
|
? tr('percentProgress', args: [
|
||||||
listedApps[index]
|
listedApps[index]
|
||||||
.downloadProgress!
|
.downloadProgress!
|
||||||
.toInt()
|
.toInt()
|
||||||
.toString()
|
.toString()
|
||||||
])
|
])
|
||||||
: tr('pleaseWait'),
|
: tr('pleaseWait'),
|
||||||
textAlign: (listedApps[index].downloadProgress! >= 0)
|
textAlign: (listedApps[index].downloadProgress! >= 0)
|
||||||
? TextAlign.start
|
? TextAlign.start
|
||||||
: TextAlign.end,
|
: TextAlign.end,
|
||||||
))
|
))
|
||||||
: trailingRow,
|
: trailingRow,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
if (selectedAppIds.isNotEmpty) {
|
if (selectedAppIds.isNotEmpty) {
|
||||||
|
Reference in New Issue
Block a user