mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-08 09:24:25 +02:00
fix: do not duplicate app listing if update available
This commit is contained in:
parent
3a7e7679f3
commit
5a613a695e
@ -50,7 +50,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…
x
Reference in New Issue
Block a user