mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-09-20 04:53:46 +02:00
fix: Show updatable app item only on updatable apps listing
This commit is contained in:
parent
5d073bddf2
commit
dd52c379b4
1 changed files with 4 additions and 1 deletions
|
@ -74,7 +74,10 @@ class HomeViewModel extends BaseViewModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
void _getPatchedApps() {
|
void _getPatchedApps() {
|
||||||
patchedInstalledApps = _managerAPI.getPatchedApps().toList();
|
patchedInstalledApps = _managerAPI
|
||||||
|
.getPatchedApps()
|
||||||
|
.where((app) => app.hasUpdates == false)
|
||||||
|
.toList();
|
||||||
patchedUpdatableApps = _managerAPI
|
patchedUpdatableApps = _managerAPI
|
||||||
.getPatchedApps()
|
.getPatchedApps()
|
||||||
.where((app) => app.hasUpdates == true)
|
.where((app) => app.hasUpdates == true)
|
||||||
|
|
Loading…
Reference in a new issue