mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 05:16:43 +02:00
Bugfix: Don't show uninstall option for track-only apps
This commit is contained in:
@ -669,8 +669,11 @@ class AppsProvider with ChangeNotifier {
|
||||
}
|
||||
|
||||
Future<bool> removeAppsWithModal(BuildContext context, List<App> apps) async {
|
||||
var showUninstallOption =
|
||||
apps.where((a) => a.installedVersion != null).isNotEmpty;
|
||||
var showUninstallOption = apps
|
||||
.where((a) =>
|
||||
a.installedVersion != null &&
|
||||
a.additionalSettings['trackOnly'] != true)
|
||||
.isNotEmpty;
|
||||
var values = await showDialog(
|
||||
context: context,
|
||||
builder: (BuildContext ctx) {
|
||||
|
Reference in New Issue
Block a user