Skip to content

Commit

Permalink
fix: Show updatable app item only on updatable apps listing
Browse files Browse the repository at this point in the history
  • Loading branch information
ponces committed Sep 18, 2022
1 parent 5d073bd commit dd52c37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/ui/views/home/home_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ class HomeViewModel extends BaseViewModel {
}

void _getPatchedApps() {
patchedInstalledApps = _managerAPI.getPatchedApps().toList();
patchedInstalledApps = _managerAPI
.getPatchedApps()
.where((app) => app.hasUpdates == false)
.toList();
patchedUpdatableApps = _managerAPI
.getPatchedApps()
.where((app) => app.hasUpdates == true)
Expand Down

0 comments on commit dd52c37

Please sign in to comment.