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