refactor: cleanup remember patches feature (#630)

This commit is contained in:
Mipirakas
2023-01-30 13:03:55 +01:00
committed by GitHub
parent 4df690c2a2
commit 1c965c3788
4 changed files with 12 additions and 29 deletions

View File

@ -42,7 +42,6 @@ class AppSelectorViewModel extends BaseViewModel {
patchDate: DateTime.now(),
);
locator<PatcherViewModel>().loadLastSelectedPatches();
locator<PatcherViewModel>().notifyListeners();
}
Future<void> selectAppFromStorage(BuildContext context) async {
@ -78,7 +77,6 @@ class AppSelectorViewModel extends BaseViewModel {
isFromStorage: true,
);
locator<PatcherViewModel>().loadLastSelectedPatches();
locator<PatcherViewModel>().notifyListeners();
}
}
} on Exception catch (e, s) {