Skip to content

Commit

Permalink
fix: Move installation log to correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Sep 30, 2023
1 parent 91837eb commit c4a7954
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui/views/installer/installer_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ class InstallerViewModel extends BaseViewModel {
);
isInstalled = await _patcherAPI.installPatchedFile(_app);
if (isInstalled) {
update(1.0, 'Installed!', 'Installed!');
_app.isFromStorage = false;
_app.patchDate = DateTime.now();
_app.appliedPatches = _patches.map((p) => p.name).toList();
Expand All @@ -293,6 +292,8 @@ class InstallerViewModel extends BaseViewModel {
}

await _managerAPI.savePatchedApp(_app);

update(1.0, 'Installed!', 'Installed!');
}
} on Exception catch (e) {
if (kDebugMode) {
Expand Down

0 comments on commit c4a7954

Please sign in to comment.