fix: display patches version on first load (#687)

This commit is contained in:
Boris Michiels 2023-02-09 23:10:50 +01:00 committed by EvadeMaster
parent 1cb556c8f8
commit 7d3ca3dec1
No known key found for this signature in database
GPG Key ID: 90BAB50981420F89

View File

@ -25,7 +25,7 @@ class PatchesSelectorViewModel extends BaseViewModel {
} }
Future<void> initialize() async { Future<void> initialize() async {
getPatchesVersion(); getPatchesVersion().whenComplete(() => notifyListeners());
patches.addAll( patches.addAll(
_patcherAPI.getFilteredPatches( _patcherAPI.getFilteredPatches(
locator<PatcherViewModel>().selectedApp!.originalPackageName, locator<PatcherViewModel>().selectedApp!.originalPackageName,