From 5d63d5c2d3b4f22e9f65384e06a0a31660988816 Mon Sep 17 00:00:00 2001 From: Aunali321 <48486084+Aunali321@users.noreply.github.com> Date: Tue, 31 Jan 2023 18:12:00 +0530 Subject: [PATCH] feat: potentially fix apps disappearing when update is available (#674) --- lib/ui/views/home/home_viewmodel.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ui/views/home/home_viewmodel.dart b/lib/ui/views/home/home_viewmodel.dart index 03cb5c75..d09ed202 100644 --- a/lib/ui/views/home/home_viewmodel.dart +++ b/lib/ui/views/home/home_viewmodel.dart @@ -77,10 +77,7 @@ class HomeViewModel extends BaseViewModel { } void _getPatchedApps() { - patchedInstalledApps = _managerAPI - .getPatchedApps() - .where((app) => app.hasUpdates == false) - .toList(); + patchedInstalledApps = _managerAPI.getPatchedApps().toList(); patchedUpdatableApps = _managerAPI .getPatchedApps() .where((app) => app.hasUpdates == true)