From 7d3ca3dec180d8b3dbc44ab650e50a95b5120908 Mon Sep 17 00:00:00 2001 From: Boris Michiels Date: Thu, 9 Feb 2023 23:10:50 +0100 Subject: [PATCH] fix: display patches version on first load (#687) --- lib/ui/views/patches_selector/patches_selector_viewmodel.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/views/patches_selector/patches_selector_viewmodel.dart b/lib/ui/views/patches_selector/patches_selector_viewmodel.dart index 84c87e75..b44e23f0 100644 --- a/lib/ui/views/patches_selector/patches_selector_viewmodel.dart +++ b/lib/ui/views/patches_selector/patches_selector_viewmodel.dart @@ -25,7 +25,7 @@ class PatchesSelectorViewModel extends BaseViewModel { } Future initialize() async { - getPatchesVersion(); + getPatchesVersion().whenComplete(() => notifyListeners()); patches.addAll( _patcherAPI.getFilteredPatches( locator().selectedApp!.originalPackageName,