Skip to content

Commit

Permalink
feat(installer): remove restriction of Share APK, closes #410 (#412)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ushie authored Oct 18, 2022
1 parent 63b2d8e commit 3778bfe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ui/views/installer/installer_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

1 comment on commit 3778bfe

@Matty003
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.