feat(installer): remove restriction of Share APK, closes #410 (#412)

Share APK has a requirement of needing to install the patched app before sharing, this PR removes that as I see no reason for this restriction
This commit is contained in:
Ushie 2022-10-18 16:16:04 +03:00 committed by GitHub
parent 63b2d8e0bd
commit 3778bfe1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,9 +219,7 @@ class InstallerViewModel extends BaseViewModel {
void shareResult() {
try {
if (isInstalled) {
_patcherAPI.sharePatchedFile(_app.name, _app.version);
}
_patcherAPI.sharePatchedFile(_app.name, _app.version);
} on Exception catch (e, s) {
Sentry.captureException(e, stackTrace: s);
}