mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-22 10:23:45 +02:00
XAPK bugfixes, HTML default User-Agent
This commit is contained in:
@@ -444,7 +444,9 @@ class _AppPageState extends State<AppPage> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 0),
|
||||
child: LinearProgressIndicator(
|
||||
value: app!.downloadProgress! / 100))
|
||||
value: app!.downloadProgress! >= 0
|
||||
? app.downloadProgress! / 100
|
||||
: null))
|
||||
],
|
||||
));
|
||||
|
||||
|
@@ -542,8 +542,12 @@ class AppsPageState extends State<AppsPage> {
|
||||
? SizedBox(
|
||||
width: 110,
|
||||
child: Text(tr('percentProgress', args: [
|
||||
listedApps[index].downloadProgress?.toInt().toString() ??
|
||||
'100'
|
||||
listedApps[index].downloadProgress! >= 0
|
||||
? listedApps[index]
|
||||
.downloadProgress!
|
||||
.toInt()
|
||||
.toString()
|
||||
: tr('pleaseWait')
|
||||
])))
|
||||
: trailingRow,
|
||||
onTap: () {
|
||||
|
Reference in New Issue
Block a user