mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 10:01:22 +01:00
Workaround for default intent chooser bug
This commit is contained in:
@@ -828,7 +828,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
}
|
||||
|
||||
private void onMenuInvite() {
|
||||
startActivityForResult(getIntentInvite(), REQUEST_INVITE);
|
||||
startActivityForResult(Helper.getChooser(this, getIntentInvite()), REQUEST_INVITE);
|
||||
}
|
||||
|
||||
private void onMenuOtherApps() {
|
||||
@@ -1279,7 +1279,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
if (create.resolveActivity(getPackageManager()) == null)
|
||||
Snackbar.make(getVisibleView(), R.string.title_no_saf, Snackbar.LENGTH_LONG).show();
|
||||
else
|
||||
startActivityForResult(create, REQUEST_ATTACHMENT);
|
||||
startActivityForResult(Helper.getChooser(this, create), REQUEST_ATTACHMENT);
|
||||
}
|
||||
|
||||
private void onDecrypt(Intent intent) {
|
||||
|
||||
Reference in New Issue
Block a user