mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-11 13:46:17 +00:00
fix: Move installation log to correct place
This commit is contained in:
@@ -279,7 +279,6 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
);
|
);
|
||||||
isInstalled = await _patcherAPI.installPatchedFile(_app);
|
isInstalled = await _patcherAPI.installPatchedFile(_app);
|
||||||
if (isInstalled) {
|
if (isInstalled) {
|
||||||
update(1.0, 'Installed!', 'Installed!');
|
|
||||||
_app.isFromStorage = false;
|
_app.isFromStorage = false;
|
||||||
_app.patchDate = DateTime.now();
|
_app.patchDate = DateTime.now();
|
||||||
_app.appliedPatches = _patches.map((p) => p.name).toList();
|
_app.appliedPatches = _patches.map((p) => p.name).toList();
|
||||||
@@ -293,6 +292,8 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await _managerAPI.savePatchedApp(_app);
|
await _managerAPI.savePatchedApp(_app);
|
||||||
|
|
||||||
|
update(1.0, 'Installed!', 'Installed!');
|
||||||
}
|
}
|
||||||
} on Exception catch (e) {
|
} on Exception catch (e) {
|
||||||
if (kDebugMode) {
|
if (kDebugMode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user