mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-11 09:30:16 +02:00
UI tweaks
This commit is contained in:
@@ -515,10 +515,12 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
? FontWeight.bold
|
? FontWeight.bold
|
||||||
: FontWeight.normal)),
|
: FontWeight.normal)),
|
||||||
trailing: listedApps[index].downloadProgress != null
|
trailing: listedApps[index].downloadProgress != null
|
||||||
? Text(tr('percentProgress', args: [
|
? SizedBox(
|
||||||
|
width: 110,
|
||||||
|
child: Text(tr('percentProgress', args: [
|
||||||
listedApps[index].downloadProgress?.toInt().toString() ??
|
listedApps[index].downloadProgress?.toInt().toString() ??
|
||||||
'100'
|
'100'
|
||||||
]))
|
])))
|
||||||
: trailingRow,
|
: trailingRow,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
if (selectedAppIds.isNotEmpty) {
|
if (selectedAppIds.isNotEmpty) {
|
||||||
|
@@ -809,7 +809,7 @@ class AppsProvider with ChangeNotifier {
|
|||||||
apps[i].installedVersion = null;
|
apps[i].installedVersion = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await saveApps(apps, attemptToCorrectInstallStatus: !remove);
|
await saveApps(apps, attemptToCorrectInstallStatus: false);
|
||||||
}
|
}
|
||||||
if (remove) {
|
if (remove) {
|
||||||
await removeApps(apps.map((e) => e.id).toList());
|
await removeApps(apps.map((e) => e.id).toList());
|
||||||
|
Reference in New Issue
Block a user