mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Small improvements
This commit is contained in:
@@ -810,7 +810,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
public void onDestroyView() {
|
||||
adapter = null;
|
||||
|
||||
if (pgpService != null)
|
||||
if (pgpService != null && pgpService.isBound())
|
||||
pgpService.unbindFromService();
|
||||
|
||||
super.onDestroyView();
|
||||
@@ -1894,6 +1894,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
onPgp(intent);
|
||||
} else if (result instanceof PendingIntent)
|
||||
try {
|
||||
ToastEx.makeText(getContext(), R.string.title_user_interaction, Toast.LENGTH_SHORT).show();
|
||||
PendingIntent pi = (PendingIntent) result;
|
||||
startIntentSenderForResult(
|
||||
pi.getIntentSender(),
|
||||
|
||||
Reference in New Issue
Block a user